pub enum PersonalityTag {
Nct,
Ct,
}Expand description
Compile-time tag identifying the active personality. Returned by
Personality::TAG and used as the discriminant for match P::TAG
dispatch in const fn bodies.
Variants§
Trait Implementations§
Source§impl Clone for PersonalityTag
impl Clone for PersonalityTag
Source§fn clone(&self) -> PersonalityTag
fn clone(&self) -> PersonalityTag
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 PersonalityTag
impl Debug for PersonalityTag
Source§impl PartialEq for PersonalityTag
impl PartialEq for PersonalityTag
Source§fn eq(&self, other: &PersonalityTag) -> bool
fn eq(&self, other: &PersonalityTag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PersonalityTag
impl Eq for PersonalityTag
impl StructuralPartialEq for PersonalityTag
Auto Trait Implementations§
impl Freeze for PersonalityTag
impl RefUnwindSafe for PersonalityTag
impl Send for PersonalityTag
impl Sync for PersonalityTag
impl Unpin for PersonalityTag
impl UnsafeUnpin for PersonalityTag
impl UnwindSafe for PersonalityTag
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