pub struct SlotHandle {
pub index: u32,
pub generation: u32,
}Expand description
Handle to an allocated slot.
Fields§
§index: u32§generation: u32Trait Implementations§
Source§impl Clone for SlotHandle
impl Clone for SlotHandle
Source§fn clone(&self) -> SlotHandle
fn clone(&self) -> SlotHandle
Returns a duplicate 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 SlotHandle
impl Debug for SlotHandle
Source§impl PartialEq for SlotHandle
impl PartialEq for SlotHandle
impl Copy for SlotHandle
impl Eq for SlotHandle
impl StructuralPartialEq for SlotHandle
Auto Trait Implementations§
impl Freeze for SlotHandle
impl RefUnwindSafe for SlotHandle
impl Send for SlotHandle
impl Sync for SlotHandle
impl Unpin for SlotHandle
impl UnwindSafe for SlotHandle
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