pub struct Alias<'ctx> {
pub name: &'ctx str,
pub ty: &'ctx Type,
pub value_index: u64,
pub linkage: Linkage,
pub visibility: Visibility,
pub storage_class: DllStorageClass,
pub tls_mode: ThreadLocalMode,
pub unnamed_addr: UnnamedAddr,
pub preemption_specifier: RuntimePreemption,
}
Expand description
Models the MODULE_CODE_ALIAS
record.
Fields§
§name: &'ctx str
The alias’s name.
ty: &'ctx Type
The alias’s type.
value_index: u64
The aliasee value index.
linkage: Linkage
The alias’s linkage.
visibility: Visibility
The alias’s visibility.
storage_class: DllStorageClass
The alias’s storage class.
tls_mode: ThreadLocalMode
The alias’s thread local storage mode.
unnamed_addr: UnnamedAddr
The alias’s unnamed_addr
specifier.
preemption_specifier: RuntimePreemption
The alias’s preemption specifier.
Trait Implementations§
Auto Trait Implementations§
impl<'ctx> Freeze for Alias<'ctx>
impl<'ctx> RefUnwindSafe for Alias<'ctx>
impl<'ctx> Send for Alias<'ctx>
impl<'ctx> Sync for Alias<'ctx>
impl<'ctx> Unpin for Alias<'ctx>
impl<'ctx> UnwindSafe for Alias<'ctx>
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