pub struct JsObjectPlatformHandle { /* private fields */ }Expand description
A platform handle that wraps an object of the page.
The numeric handle only identifies the wrapper; the object itself is
reached through object.
Implementations§
Trait Implementations§
Source§impl IPlatformHandle for JsObjectPlatformHandle
impl IPlatformHandle for JsObjectPlatformHandle
Source§fn handle_descriptor(&self) -> Option<&str>
fn handle_descriptor(&self) -> Option<&str>
Gets an optional string that describes what
handle represents.Source§fn equals(&self, other: &dyn IPlatformHandle) -> bool
fn equals(&self, other: &dyn IPlatformHandle) -> bool
Whether this handle is equal to
other. Read moreSource§fn as_native_control_host_destroyable_control_handle(
&self,
) -> Option<&dyn INativeControlHostDestroyableControlHandle>
fn as_native_control_host_destroyable_control_handle( &self, ) -> Option<&dyn INativeControlHostDestroyableControlHandle>
The handle as the handle of a native control that can be destroyed,
if it is one (C#
handle as INativeControlHostDestroyableControlHandle).
An implementation of that contract returns itself.Auto Trait Implementations§
impl !Freeze for JsObjectPlatformHandle
impl !RefUnwindSafe for JsObjectPlatformHandle
impl !Sync for JsObjectPlatformHandle
impl Send for JsObjectPlatformHandle
impl Unpin for JsObjectPlatformHandle
impl UnsafeUnpin for JsObjectPlatformHandle
impl UnwindSafe for JsObjectPlatformHandle
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more