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