pub enum Access {
Private,
Public,
PublicInCrate,
PublicInSuper,
PublicInPath(String),
}Expand description
An access level.
Variants§
Trait Implementations§
Source§impl Expression for Access
impl Expression for Access
Source§fn write(&self, b: &mut CodeBuffer)
fn write(&self, b: &mut CodeBuffer)
Writes the code to the buffer
b.Source§impl Ord for Access
impl Ord for Access
Source§impl PartialOrd for Access
impl PartialOrd for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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