pub struct AlignmentId(/* private fields */);Expand description
A non-empty alignment identifier.
Implementations§
Source§impl AlignmentId
impl AlignmentId
Trait Implementations§
Source§impl Clone for AlignmentId
impl Clone for AlignmentId
Source§fn clone(&self) -> AlignmentId
fn clone(&self) -> AlignmentId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlignmentId
impl Debug for AlignmentId
Source§impl Display for AlignmentId
impl Display for AlignmentId
Source§impl FromStr for AlignmentId
impl FromStr for AlignmentId
Source§impl Hash for AlignmentId
impl Hash for AlignmentId
Source§impl Ord for AlignmentId
impl Ord for AlignmentId
Source§fn cmp(&self, other: &AlignmentId) -> Ordering
fn cmp(&self, other: &AlignmentId) -> Ordering
1.21.0 (const: unstable) · 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 AlignmentId
impl PartialEq for AlignmentId
Source§fn eq(&self, other: &AlignmentId) -> bool
fn eq(&self, other: &AlignmentId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AlignmentId
impl PartialOrd for AlignmentId
impl Eq for AlignmentId
impl StructuralPartialEq for AlignmentId
Auto Trait Implementations§
impl Freeze for AlignmentId
impl RefUnwindSafe for AlignmentId
impl Send for AlignmentId
impl Sync for AlignmentId
impl Unpin for AlignmentId
impl UnsafeUnpin for AlignmentId
impl UnwindSafe for AlignmentId
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