pub enum PureVis {
Private,
Public,
Crate,
Super,
In(String),
}Expand description
Visibility.
Variants§
Trait Implementations§
Source§impl ToSyn for PureVis
impl ToSyn for PureVis
Source§type Output = Visibility
type Output = Visibility
syn output type produced from self.Source§fn to_syn(&self) -> Result<Visibility, ToSynError>
fn to_syn(&self) -> Result<Visibility, ToSynError>
Convert
self back into its syn representation.impl Eq for PureVis
impl StructuralPartialEq for PureVis
Auto Trait Implementations§
impl Freeze for PureVis
impl RefUnwindSafe for PureVis
impl Send for PureVis
impl Sync for PureVis
impl Unpin for PureVis
impl UnsafeUnpin for PureVis
impl UnwindSafe for PureVis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more