Trait script::dom::bindings::codegen::Bindings::ResizeObserverEntryBinding::ResizeObserverEntry_Binding::ResizeObserverEntryMethods
source · pub trait ResizeObserverEntryMethods<D: DomTypes> {
// Required methods
fn Target(&self) -> Root<Dom<Element>>;
fn ContentRect(&self) -> Root<Dom<DOMRectReadOnly>>;
fn BorderBoxSize(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
fn ContentBoxSize(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
fn DevicePixelContentBoxSize(
&self,
cx: SafeJSContext,
retval: MutableHandleValue<'_>,
);
}