pub struct AttributeId(pub usize);
Expand description
A type to denote an id of an attribute assignment for uniquely identifying each attribute or assignment.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for AttributeId
impl Clone for AttributeId
source§fn clone(&self) -> AttributeId
fn clone(&self) -> AttributeId
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 AttributeId
impl Debug for AttributeId
source§impl Default for AttributeId
impl Default for AttributeId
source§impl From<AttributeId> for Metadata
impl From<AttributeId> for Metadata
source§fn from(order: AttributeId) -> Self
fn from(order: AttributeId) -> Self
Converts to this type from the input type.
source§impl Hash for AttributeId
impl Hash for AttributeId
source§impl Ord for AttributeId
impl Ord for AttributeId
source§fn cmp(&self, other: &AttributeId) -> Ordering
fn cmp(&self, other: &AttributeId) -> 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 AttributeId
impl PartialEq for AttributeId
source§impl PartialOrd for AttributeId
impl PartialOrd for AttributeId
impl Copy for AttributeId
impl Eq for AttributeId
impl StructuralPartialEq for AttributeId
Auto Trait Implementations§
impl Freeze for AttributeId
impl RefUnwindSafe for AttributeId
impl Send for AttributeId
impl Sync for AttributeId
impl Unpin for AttributeId
impl UnwindSafe for AttributeId
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)