pub struct Platform {}
Trait Implementations§
Source§impl Platform<Element, Window> for Platform
impl Platform<Element, Window> for Platform
fn get_element_rects( &self, args: GetElementRectsArgs<'_, Element>, ) -> ElementRects
fn get_clipping_rect(&self, args: GetClippingRectArgs<'_, Element>) -> Rect
fn get_dimensions(&self, element: &Element) -> Dimensions
fn convert_offset_parent_relative_rect_to_viewport_relative_rect( &self, args: ConvertOffsetParentRelativeRectToViewportRelativeRectArgs<'_, Element, Window>, ) -> Option<Rect>
fn get_offset_parent( &self, element: &Element, ) -> Option<OwnedElementOrWindow<Element, Window>>
fn get_document_element(&self, element: &Element) -> Option<Element>
fn get_client_rects( &self, element: ElementOrVirtual<'_>, ) -> Option<Vec<ClientRectObject>>
fn is_rtl(&self, element: &Element) -> Option<bool>
fn get_scale(&self, element: &Element) -> Option<Coords>
fn get_client_length(&self, element: &Element, length: Length) -> Option<f64>
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more