#[repr(transparent)]pub struct PlacementId(pub u16);Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for PlacementId
impl Clone for PlacementId
Source§fn clone(&self) -> PlacementId
fn clone(&self) -> PlacementId
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 PlacementId
impl Debug for PlacementId
Source§impl From<PlacementId> for u16
impl From<PlacementId> for u16
Source§fn from(PlacementId: PlacementId) -> u16
fn from(PlacementId: PlacementId) -> u16
Converts to this type from the input type.
Source§impl From<u16> for PlacementId
impl From<u16> for PlacementId
Source§fn from(v: u16) -> PlacementId
fn from(v: u16) -> PlacementId
Converts to this type from the input type.
Source§impl Hash for PlacementId
impl Hash for PlacementId
Source§impl Ord for PlacementId
impl Ord for PlacementId
Source§fn cmp(&self, other: &PlacementId) -> Ordering
fn cmp(&self, other: &PlacementId) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PlacementId
impl PartialEq for PlacementId
Source§impl PartialOrd for PlacementId
impl PartialOrd for PlacementId
impl Copy for PlacementId
impl Eq for PlacementId
impl StructuralPartialEq for PlacementId
Auto Trait Implementations§
impl Freeze for PlacementId
impl RefUnwindSafe for PlacementId
impl Send for PlacementId
impl Sync for PlacementId
impl Unpin for PlacementId
impl UnwindSafe for PlacementId
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