pub struct SlotId(pub u64);Expand description
Identifier for a subcomposed slot.
This mirrors the slotId concept in Jetpack Compose where callers provide
stable identifiers for reusable children during measure-time composition.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Ord for SlotId
impl Ord for SlotId
Source§impl PartialOrd for SlotId
impl PartialOrd for SlotId
impl Copy for SlotId
impl Eq for SlotId
impl StructuralPartialEq for SlotId
Auto Trait Implementations§
impl Freeze for SlotId
impl RefUnwindSafe for SlotId
impl Send for SlotId
impl Sync for SlotId
impl Unpin for SlotId
impl UnwindSafe for SlotId
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