Enum IdentKind
pub enum IdentKind
Variants
-
Normal -
Raw -
ForcedKeyword
Implementations
impl IdentKind
fn prefix(self) -> Option<&'static str>
Trait Implementations
impl Clone for IdentKind
fn clone(&self) -> Self
impl Copy for IdentKind
impl Eq for IdentKind
impl Mark for IdentKind
type Unmarked = IdentKind;fn mark(unmarked: Self::Unmarked) -> Selffn unmark(self) -> Self::Unmarked
impl PartialEq for IdentKind
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for IdentKind
impl TrivialClone for IdentKind
impl<'a, S> Decode<'a, '_, S> for IdentKind
fn decode(r: &mut &'a [u8], s: &mut S) -> Self
impl<S> Encode<S> for IdentKind
fn encode(self, w: &mut Buffer, s: &mut S)
Auto Trait Implementations
impl Freeze for IdentKind
impl RefUnwindSafe for IdentKind
impl Send for IdentKind
impl Sync for IdentKind
impl Unpin for IdentKind
impl UnsafeUnpin for IdentKind
impl UnwindSafe for IdentKind
Blanket Implementations
impl<T> Any for IdentKind
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for IdentKind
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for IdentKind
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for IdentKind
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for IdentKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for IdentKind
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for IdentKind
impl<T> ToOwned for IdentKind
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for IdentKind
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for IdentKind
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for IdentKind
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>