pub struct Pub(pub Ident);Expand description
pub
Tuple Fields§
§0: IdentTrait Implementations§
Source§impl IntoTokens for Pub
impl IntoTokens for Pub
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 Pub
impl RefUnwindSafe for Pub
impl !Send for Pub
impl !Sync for Pub
impl Unpin for Pub
impl UnwindSafe for Pub
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