Struct sid_vec::Id [] [src]

pub struct Id<Tag, Handle = u32> {
    pub handle: Handle,
    pub _marker: PhantomData<Tag>,
}

Fields

Methods

impl<T, H: Copy> Id<T, H>
[src]

Trait Implementations

impl<T, H: Display> Debug for Id<T, H>
[src]

Formats the value using the given formatter.

impl<T, H: Copy> Copy for Id<T, H>
[src]

impl<T, H: Copy> Clone for Id<T, H>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, H: PartialEq> PartialEq for Id<T, H>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T, H: Copy + Eq> Eq for Id<T, H>
[src]

impl<T, H: IntegerHandle> Identifier for Id<T, H>
[src]

impl<T, H: ToIndex> ToIndex for Id<T, H>
[src]

impl<T, H: Copy + FromIndex> FromIndex for Id<T, H>
[src]

impl<T, Handle: Hash> Hash for Id<T, Handle>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more