Struct components_arena::Id
source · pub struct Id<C: Component> { /* private fields */ }
Expand description
Arena
item handle.
Trait Implementations§
§impl<C: Component> ComponentId for Id<C>
impl<C: Component> ComponentId for Id<C>
source§impl<C: Component> Ord for Id<C>
impl<C: Component> Ord for Id<C>
source§impl<C: Component> PartialEq for Id<C>
impl<C: Component> PartialEq for Id<C>
source§impl<C: Component> PartialOrd for Id<C>
impl<C: Component> PartialOrd for Id<C>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<C: Component> Copy for Id<C>
impl<C: Component> Eq for Id<C>
Auto Trait Implementations§
impl<C> Freeze for Id<C>
impl<C> RefUnwindSafe for Id<C>where
C: RefUnwindSafe,
impl<C> Send for Id<C>
impl<C> Sync for Id<C>
impl<C> Unpin for Id<C>
impl<C> UnwindSafe for Id<C>where
C: UnwindSafe,
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