IPlatformHandle
trait · ferroui-controls · v0.5.0
trait IPlatformHandle
Represents a platform-specific handle.
Members
handle
fn handle(self: &Self) -> isize
Gets the handle (a native pointer or identifier).
handle_descriptor
fn handle_descriptor(self: &Self) -> Option<&str>
Gets an optional string that describes what handle represents.
as_any
fn as_any(self: &Self) -> &dyn Any
Lets backends recover the concrete handle type.
equals
fn equals(self: &Self, other: &dyn IPlatformHandle) -> bool
Whether this handle is equal to other.
The default is identity: a handle is only equal to itself. Value-like
handles (see PlatformHandle) compare their
contents.
as_native_control_host_destroyable_control_handle
fn as_native_control_host_destroyable_control_handle(self: &Self) -> Option<&dyn super::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.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.