Enum erg_compiler::ty::vis::VisibilityModifier
source · pub enum VisibilityModifier {
Public,
Private,
Restricted(Set<Str>),
SubtypeRestricted(Type),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for VisibilityModifier
impl Clone for VisibilityModifier
source§fn clone(&self) -> VisibilityModifier
fn clone(&self) -> VisibilityModifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VisibilityModifier
impl Debug for VisibilityModifier
source§impl Display for VisibilityModifier
impl Display for VisibilityModifier
source§impl Hash for VisibilityModifier
impl Hash for VisibilityModifier
source§impl PartialEq for VisibilityModifier
impl PartialEq for VisibilityModifier
impl Eq for VisibilityModifier
impl StructuralPartialEq for VisibilityModifier
Auto Trait Implementations§
impl Freeze for VisibilityModifier
impl RefUnwindSafe for VisibilityModifier
impl Send for VisibilityModifier
impl Sync for VisibilityModifier
impl Unpin for VisibilityModifier
impl UnwindSafe for VisibilityModifier
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)