Enum solang_parser::pt::Visibility
source · [−]pub enum Visibility {
External(Option<Loc>),
Public(Option<Loc>),
Internal(Option<Loc>),
Private(Option<Loc>),
}
Variants
External(Option<Loc>)
Public(Option<Loc>)
Internal(Option<Loc>)
Private(Option<Loc>)
Trait Implementations
sourceimpl Clone for Visibility
impl Clone for Visibility
sourcefn clone(&self) -> Visibility
fn clone(&self) -> Visibility
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Visibility
impl Debug for Visibility
sourceimpl Display for Visibility
impl Display for Visibility
sourceimpl OptionalCodeLocation for Visibility
impl OptionalCodeLocation for Visibility
sourceimpl PartialEq<Visibility> for Visibility
impl PartialEq<Visibility> for Visibility
sourcefn eq(&self, other: &Visibility) -> bool
fn eq(&self, other: &Visibility) -> bool
impl Eq for Visibility
impl StructuralEq for Visibility
impl StructuralPartialEq for Visibility
Auto Trait Implementations
impl RefUnwindSafe for Visibility
impl Send for Visibility
impl Sync for Visibility
impl Unpin for Visibility
impl UnwindSafe for Visibility
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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