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