Struct etagere::allocator::ShelfIndex
source · #[repr(transparent)]struct ShelfIndex(u16);
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
source§impl Clone for ShelfIndex
impl Clone for ShelfIndex
source§fn clone(&self) -> ShelfIndex
fn clone(&self) -> ShelfIndex
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 ShelfIndex
impl Debug for ShelfIndex
source§impl<'de> Deserialize<'de> for ShelfIndex
impl<'de> Deserialize<'de> for ShelfIndex
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ShelfIndex
impl PartialEq for ShelfIndex
source§fn eq(&self, other: &ShelfIndex) -> bool
fn eq(&self, other: &ShelfIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ShelfIndex
impl Serialize for ShelfIndex
impl Copy for ShelfIndex
impl Eq for ShelfIndex
impl StructuralPartialEq for ShelfIndex
Auto Trait Implementations§
impl Freeze for ShelfIndex
impl RefUnwindSafe for ShelfIndex
impl Send for ShelfIndex
impl Sync for ShelfIndex
impl Unpin for ShelfIndex
impl UnwindSafe for ShelfIndex
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