pub(crate) trait ResizeObserverEntryMethods<D>where
D: DomTypes,{
// Required methods
fn Target(&self) -> Root<Dom<<D as DomTypes>::Element>>;
fn ContentRect(&self) -> Root<Dom<<D as DomTypes>::DOMRectReadOnly>>;
fn BorderBoxSize(
&self,
cx: &mut JSContext,
retval: MutableHandle<'_, Value>,
);
fn ContentBoxSize(
&self,
cx: &mut JSContext,
retval: MutableHandle<'_, Value>,
);
fn DevicePixelContentBoxSize(
&self,
cx: &mut JSContext,
retval: MutableHandle<'_, Value>,
);
}Required Methods§
fn Target(&self) -> Root<Dom<<D as DomTypes>::Element>>
fn ContentRect(&self) -> Root<Dom<<D as DomTypes>::DOMRectReadOnly>>
fn BorderBoxSize(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>)
fn ContentBoxSize(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>)
fn DevicePixelContentBoxSize( &self, cx: &mut JSContext, retval: MutableHandle<'_, Value>, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".