#[repr(transparent)]pub struct PluginHandle(pub u32);
Expand description
Represents a handle for a plugin, which is a 32-bit unsigned integer.
Internally implemented, this number represents the index of the order in which plugins are loaded.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Clone for PluginHandle
impl Clone for PluginHandle
Source§fn clone(&self) -> PluginHandle
fn clone(&self) -> PluginHandle
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PluginHandle
impl Debug for PluginHandle
Source§impl Default for PluginHandle
impl Default for PluginHandle
Source§fn default() -> PluginHandle
fn default() -> PluginHandle
Returns the “default value” for a type. Read more
Source§impl Hash for PluginHandle
impl Hash for PluginHandle
Source§impl Ord for PluginHandle
impl Ord for PluginHandle
Source§fn cmp(&self, other: &PluginHandle) -> Ordering
fn cmp(&self, other: &PluginHandle) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PluginHandle
impl PartialEq for PluginHandle
Source§impl PartialOrd for PluginHandle
impl PartialOrd for PluginHandle
impl Eq for PluginHandle
impl StructuralPartialEq for PluginHandle
Auto Trait Implementations§
impl Freeze for PluginHandle
impl RefUnwindSafe for PluginHandle
impl Send for PluginHandle
impl Sync for PluginHandle
impl Unpin for PluginHandle
impl UnwindSafe for PluginHandle
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