pub struct HookId { /* private fields */ }Implementations§
Source§impl HookId
impl HookId
pub const fn new( component: ComponentId, index: usize, kind: HookSlotKind, ) -> Self
pub const fn component(self) -> ComponentId
pub const fn index(self) -> usize
pub const fn kind(self) -> HookSlotKind
Trait Implementations§
impl Copy for HookId
impl Eq for HookId
Source§impl Ord for HookId
impl Ord for HookId
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for HookId
impl PartialOrd for HookId
impl StructuralPartialEq for HookId
Auto Trait Implementations§
impl Freeze for HookId
impl RefUnwindSafe for HookId
impl Send for HookId
impl Sync for HookId
impl Unpin for HookId
impl UnsafeUnpin for HookId
impl UnwindSafe for HookId
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