pub(crate) trait ResizeObserverEntryMethods<D: DomTypes> {
    // Required methods
    fn Target(&self) -> DomRoot<D::Element>;
    fn ContentRect(&self) -> DomRoot<D::DOMRectReadOnly>;
    fn BorderBoxSize(
        &self,
        cx: SafeJSContext,
        _can_gc: CanGc,
        retval: MutableHandleValue<'_>,
    );
    fn ContentBoxSize(
        &self,
        cx: SafeJSContext,
        _can_gc: CanGc,
        retval: MutableHandleValue<'_>,
    );
    fn DevicePixelContentBoxSize(
        &self,
        cx: SafeJSContext,
        _can_gc: CanGc,
        retval: MutableHandleValue<'_>,
    );
}

Required Methods§

Source

fn Target(&self) -> DomRoot<D::Element>

Source

fn ContentRect(&self) -> DomRoot<D::DOMRectReadOnly>

Source

fn BorderBoxSize( &self, cx: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>, )

Source

fn ContentBoxSize( &self, cx: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>, )

Source

fn DevicePixelContentBoxSize( &self, cx: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>, )

Implementors§