pub enum Identifier<'t> {
Identifier(&'t str),
Type(&'t str),
}
Variants§
Trait Implementations§
Source§impl<'t> Clone for Identifier<'t>
impl<'t> Clone for Identifier<'t>
Source§fn clone(&self) -> Identifier<'t>
fn clone(&self) -> Identifier<'t>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'t> Debug for Identifier<'t>
impl<'t> Debug for Identifier<'t>
Source§impl<'t> From<Identifier<'t>> for Token<'t>
impl<'t> From<Identifier<'t>> for Token<'t>
Source§fn from(value: Identifier<'t>) -> Self
fn from(value: Identifier<'t>) -> Self
Converts to this type from the input type.
Source§impl<'t> PartialEq for Identifier<'t>
impl<'t> PartialEq for Identifier<'t>
impl<'t> Copy for Identifier<'t>
impl<'t> StructuralPartialEq for Identifier<'t>
Auto Trait Implementations§
impl<'t> Freeze for Identifier<'t>
impl<'t> RefUnwindSafe for Identifier<'t>
impl<'t> Send for Identifier<'t>
impl<'t> Sync for Identifier<'t>
impl<'t> Unpin for Identifier<'t>
impl<'t> UnwindSafe for Identifier<'t>
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