Enum inkwell::values::UnnamedAddress
source · pub enum UnnamedAddress {
None,
Local,
Global,
}
Expand description
This enum determines the significance of a GlobalValue
’s address.
Variants§
None
Address of the GlobalValue
is significant.
Local
Address of the GlobalValue
is locally insignificant.
Global
Address of the GlobalValue
is globally insignificant.
Trait Implementations§
source§impl Clone for UnnamedAddress
impl Clone for UnnamedAddress
source§fn clone(&self) -> UnnamedAddress
fn clone(&self) -> UnnamedAddress
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 UnnamedAddress
impl Debug for UnnamedAddress
source§impl From<LLVMUnnamedAddr> for UnnamedAddress
impl From<LLVMUnnamedAddr> for UnnamedAddress
source§fn from(src: LLVMUnnamedAddr) -> Self
fn from(src: LLVMUnnamedAddr) -> Self
Converts to this type from the input type.
source§impl Hash for UnnamedAddress
impl Hash for UnnamedAddress
source§impl Into<LLVMUnnamedAddr> for UnnamedAddress
impl Into<LLVMUnnamedAddr> for UnnamedAddress
source§fn into(self) -> LLVMUnnamedAddr
fn into(self) -> LLVMUnnamedAddr
Converts this type into the (usually inferred) input type.
source§impl Ord for UnnamedAddress
impl Ord for UnnamedAddress
source§fn cmp(&self, other: &UnnamedAddress) -> Ordering
fn cmp(&self, other: &UnnamedAddress) -> 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 UnnamedAddress
impl PartialEq for UnnamedAddress
source§fn eq(&self, other: &UnnamedAddress) -> bool
fn eq(&self, other: &UnnamedAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UnnamedAddress
impl PartialOrd for UnnamedAddress
source§fn partial_cmp(&self, other: &UnnamedAddress) -> Option<Ordering>
fn partial_cmp(&self, other: &UnnamedAddress) -> 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 UnnamedAddress
impl Eq for UnnamedAddress
impl StructuralPartialEq for UnnamedAddress
Auto Trait Implementations§
impl RefUnwindSafe for UnnamedAddress
impl Send for UnnamedAddress
impl Sync for UnnamedAddress
impl Unpin for UnnamedAddress
impl UnwindSafe for UnnamedAddress
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