pub struct Colon(pub Punct);Expand description
:
Tuple Fields§
§0: PunctTrait Implementations§
Source§impl IntoTokens for Colon
impl IntoTokens for Colon
Source§fn into_tokens(self, root: &TokenStream, tokens: &mut impl Extend<TokenTree>)
fn into_tokens(self, root: &TokenStream, tokens: &mut impl Extend<TokenTree>)
Source§fn collect_tokens<T>(self, root: &TokenStream) -> T
fn collect_tokens<T>(self, root: &TokenStream) -> T
Convenience methods to emit
self’s tokens into a new T.Auto Trait Implementations§
impl Freeze for Colon
impl RefUnwindSafe for Colon
impl !Send for Colon
impl !Sync for Colon
impl Unpin for Colon
impl UnwindSafe for Colon
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