IPlatformHandle
trait · ferroui-base · 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.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.