Struct syn::token::Pub [−][src]
pub struct Pub { pub span: Span, }
Expand description
pub
Don’t try to remember the name of this type — use the
Token!
macro instead.
Fields
span: Span
Trait Implementations
This is supported on crate feature
clone-impls
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
parsing
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
printing
only.This is supported on crate feature
clone-impls
only.This is supported on crate feature
extra-traits
only.Auto Trait Implementations
impl RefUnwindSafe for Pub
impl UnwindSafe for Pub
Blanket Implementations
Mutably borrows from an owned value. Read more