pub struct EnumerationId(/* private fields */);Expand description
Identifies one accepted enumeration within a session.
Every completion record carries one, because several enumerations may share a session and their records interleave. Values are unique for the life of the process, so an identifier retained past its enumeration names nothing rather than aliasing a later one.
Implementations§
Trait Implementations§
Source§impl Clone for EnumerationId
impl Clone for EnumerationId
Source§fn clone(&self) -> EnumerationId
fn clone(&self) -> EnumerationId
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 moreimpl Copy for EnumerationId
Source§impl Debug for EnumerationId
impl Debug for EnumerationId
Source§impl Display for EnumerationId
impl Display for EnumerationId
impl Eq for EnumerationId
Source§impl Hash for EnumerationId
impl Hash for EnumerationId
Source§impl Ord for EnumerationId
impl Ord for EnumerationId
Source§fn cmp(&self, other: &EnumerationId) -> Ordering
fn cmp(&self, other: &EnumerationId) -> 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 EnumerationId
impl PartialEq for EnumerationId
Source§impl PartialOrd for EnumerationId
impl PartialOrd for EnumerationId
impl StructuralPartialEq for EnumerationId
Auto Trait Implementations§
impl Freeze for EnumerationId
impl RefUnwindSafe for EnumerationId
impl Send for EnumerationId
impl Sync for EnumerationId
impl Unpin for EnumerationId
impl UnsafeUnpin for EnumerationId
impl UnwindSafe for EnumerationId
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