Struct syn::VisPublic [−][src]
pub struct VisPublic { pub pub_token: Pub, }
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]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]