pub struct VisCrate {
pub crate_token: Crate,
}
Expand description
A crate-level visibility: crate
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
crate_token: Crate
Trait Implementations
sourceimpl From<VisCrate> for Visibility
impl From<VisCrate> for Visibility
sourcefn from(e: VisCrate) -> Visibility
fn from(e: VisCrate) -> Visibility
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for VisCrate
impl !Send for VisCrate
impl !Sync for VisCrate
impl Unpin for VisCrate
impl UnwindSafe for VisCrate
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