pub struct IdentToken { /* private fields */ }Expand description
Branded type for Ident terminal
Implementations§
Source§impl IdentToken
impl IdentToken
Sourcepub fn into_builder(self) -> CstBuilder
pub fn into_builder(self) -> CstBuilder
Consume this token and return its builder
Trait Implementations§
Source§impl Clone for IdentToken
impl Clone for IdentToken
Source§fn clone(&self) -> IdentToken
fn clone(&self) -> IdentToken
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 Debug for IdentToken
impl Debug for IdentToken
Source§impl From<IdentToken> for BuilderNodeId
impl From<IdentToken> for BuilderNodeId
Source§fn from(token: IdentToken) -> Self
fn from(token: IdentToken) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdentToken
impl RefUnwindSafe for IdentToken
impl Send for IdentToken
impl Sync for IdentToken
impl Unpin for IdentToken
impl UnwindSafe for IdentToken
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