pub enum GlobalVisibility {
Default,
Hidden,
Protected,
}
Variants§
Trait Implementations§
Source§impl Clone for GlobalVisibility
impl Clone for GlobalVisibility
Source§fn clone(&self) -> GlobalVisibility
fn clone(&self) -> GlobalVisibility
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 GlobalVisibility
impl Debug for GlobalVisibility
Source§impl Default for GlobalVisibility
impl Default for GlobalVisibility
Source§impl From<LLVMVisibility> for GlobalVisibility
impl From<LLVMVisibility> for GlobalVisibility
Source§fn from(src: LLVMVisibility) -> Self
fn from(src: LLVMVisibility) -> Self
Converts to this type from the input type.
Source§impl Hash for GlobalVisibility
impl Hash for GlobalVisibility
Source§impl Into<LLVMVisibility> for GlobalVisibility
impl Into<LLVMVisibility> for GlobalVisibility
Source§fn into(self) -> LLVMVisibility
fn into(self) -> LLVMVisibility
Converts this type into the (usually inferred) input type.
Source§impl Ord for GlobalVisibility
impl Ord for GlobalVisibility
Source§fn cmp(&self, other: &GlobalVisibility) -> Ordering
fn cmp(&self, other: &GlobalVisibility) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GlobalVisibility
impl PartialEq for GlobalVisibility
Source§impl PartialOrd for GlobalVisibility
impl PartialOrd for GlobalVisibility
impl Copy for GlobalVisibility
impl Eq for GlobalVisibility
impl StructuralPartialEq for GlobalVisibility
Auto Trait Implementations§
impl Freeze for GlobalVisibility
impl RefUnwindSafe for GlobalVisibility
impl Send for GlobalVisibility
impl Sync for GlobalVisibility
impl Unpin for GlobalVisibility
impl UnwindSafe for GlobalVisibility
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more