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