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