pub struct Alias {
pub name: Symbol,
pub target: Symbol,
pub kind: AliasKind,
pub linkage: Linkage,
pub visibility: Visibility,
}Expand description
A second name for something else.
Fields§
§name: SymbolThe name being defined.
target: SymbolWhat it resolves to: the aliased symbol, or for an ifunc the resolver to call.
kind: AliasKindWhich of those two it is.
linkage: LinkageHow the linker sees the new name.
visibility: VisibilityHow the dynamic linker sees the new name.
Implementations§
Trait Implementations§
impl Copy for Alias
impl Eq for Alias
impl StructuralPartialEq for Alias
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnsafeUnpin for Alias
impl UnwindSafe for Alias
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