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