pub struct VisPublic {
pub pub_token: Pub,
}
Expand description
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
sourceimpl From<VisPublic> for Visibility
impl From<VisPublic> for Visibility
sourcefn from(e: VisPublic) -> Visibility
fn from(e: VisPublic) -> Visibility
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for VisPublic
impl !Send for VisPublic
impl !Sync for VisPublic
impl Unpin for VisPublic
impl UnwindSafe for VisPublic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more