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<GlobalVisibility> for GlobalVisibility
impl PartialEq<GlobalVisibility> for GlobalVisibility
source§fn eq(&self, other: &GlobalVisibility) -> bool
fn eq(&self, other: &GlobalVisibility) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<GlobalVisibility> for GlobalVisibility
impl PartialOrd<GlobalVisibility> for GlobalVisibility
source§fn partial_cmp(&self, other: &GlobalVisibility) -> Option<Ordering>
fn partial_cmp(&self, other: &GlobalVisibility) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more