Struct themelios::types::PlacementId
source · #[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 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 PlacementId
impl Debug for PlacementId
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<PlacementId> for PlacementId
impl PartialEq<PlacementId> for PlacementId
source§fn eq(&self, other: &PlacementId) -> bool
fn eq(&self, other: &PlacementId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<PlacementId> for PlacementId
impl PartialOrd<PlacementId> for PlacementId
source§fn partial_cmp(&self, other: &PlacementId) -> Option<Ordering>
fn partial_cmp(&self, other: &PlacementId) -> Option<Ordering>
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 Copy for PlacementId
impl Eq for PlacementId
impl StructuralEq for PlacementId
impl StructuralPartialEq for PlacementId
Auto Trait Implementations§
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