pub struct JsObjectControlHandle { /* private fields */ }Expand description
The handle of a control of the page that the framework hosts and may destroy.
Implementations§
Trait Implementations§
Source§impl IPlatformHandle for JsObjectControlHandle
impl IPlatformHandle for JsObjectControlHandle
Source§fn handle_descriptor(&self) -> Option<&str>
fn handle_descriptor(&self) -> Option<&str>
Gets an optional string that describes what
handle represents.Source§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 JsObjectControlHandle
impl !RefUnwindSafe for JsObjectControlHandle
impl !Sync for JsObjectControlHandle
impl Send for JsObjectControlHandle
impl Unpin for JsObjectControlHandle
impl UnsafeUnpin for JsObjectControlHandle
impl UnwindSafe for JsObjectControlHandle
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