Enum inkwell::GlobalVisibility
source · 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§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 for GlobalVisibility
impl PartialOrd 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 moreimpl Copy for GlobalVisibility
impl Eq for GlobalVisibility
impl StructuralEq for GlobalVisibility
impl StructuralPartialEq for GlobalVisibility
Auto Trait Implementations§
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