Struct sid::Id
[−]
[src]
pub struct Id<Tag, Handle = u32> { pub handle: Handle, pub _marker: PhantomData<Tag>, }
Fields
handle: Handle
_marker: PhantomData<Tag>
Methods
impl<T, H: IntegerHandle> Id<T, H>[src]
Trait Implementations
impl<T, H: Display> Debug for Id<T, H>[src]
impl<T, H: Copy> Copy for Id<T, H>[src]
impl<T, H: Copy> Clone for Id<T, H>[src]
fn clone(&self) -> Id<T, H>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T, H: PartialEq> PartialEq for Id<T, H>[src]
fn eq(&self, other: &Id<T, H>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.