Trait ResizeObserverEntryMethods

Source
pub 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: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, ); fn ContentBoxSize( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, ); fn DevicePixelContentBoxSize( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, ); }

Required Methods§

Source

fn Target(&self) -> Root<Dom<<D as DomTypes>::Element>>

Source

fn ContentRect(&self) -> Root<Dom<<D as DomTypes>::DOMRectReadOnly>>

Source

fn BorderBoxSize( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, )

Source

fn ContentBoxSize( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, )

Source

fn DevicePixelContentBoxSize( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, )

Implementors§