pub enum UnnamedAddress {
None,
Local,
Global,
}
Available on crate features
llvm7-0
or llvm8-0
or llvm9-0
or llvm10-0
or llvm11-0
or llvm12-0
or llvm13-0
or llvm14-0
or llvm15-0
or llvm16-0
or llvm17-0
or llvm18-0
only.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§impl PartialOrd for UnnamedAddress
impl PartialOrd for UnnamedAddress
impl Copy for UnnamedAddress
impl Eq for UnnamedAddress
impl StructuralPartialEq for UnnamedAddress
Auto Trait Implementations§
impl Freeze for UnnamedAddress
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
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
)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