Struct syn::VisPublic [−][src]
pub struct VisPublic { pub pub_token: Pub, }
This is supported on crate features
full
or derive
only.A public visibility level: pub
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
pub_token: Pub
Trait Implementations
impl Clone for VisPublic
[src]
impl Clone for VisPublic
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<VisPublic> for Visibility
[src]
impl From<VisPublic> for Visibility
[src]fn from(e: VisPublic) -> Visibility
[src]
impl ToTokens for VisPublic
[src]
impl ToTokens for VisPublic
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for VisPublic
impl RefUnwindSafe for VisPublic
impl UnwindSafe for VisPublic
impl UnwindSafe for VisPublic