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