#[repr(u32)]pub enum Linkage {
Static = 0,
Global = 1,
Extern = 2,
Unknown = 3,
}
Expand description
The kind of linkage a variable of function can have.
Variants§
Trait Implementations§
source§impl PartialEq for Linkage
impl PartialEq for Linkage
impl Copy for Linkage
impl Eq for Linkage
impl StructuralPartialEq for Linkage
Auto Trait Implementations§
impl Freeze for Linkage
impl RefUnwindSafe for Linkage
impl Send for Linkage
impl Sync for Linkage
impl Unpin for Linkage
impl UnwindSafe for Linkage
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