pub enum Base {
Decl(DeclId),
Str(StrId),
}Expand description
What an address constant is an address of.
Variants§
Decl(DeclId)
A declared object or function, which the linker knows by name.
Str(StrId)
A string literal, which has static storage duration and no name of its own.
Trait Implementations§
impl Copy for Base
impl Eq for Base
impl StructuralPartialEq for Base
Auto Trait Implementations§
impl Freeze for Base
impl RefUnwindSafe for Base
impl Send for Base
impl Sync for Base
impl Unpin for Base
impl UnsafeUnpin for Base
impl UnwindSafe for Base
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