#[repr(u32)]pub enum VarLinkage {
Static = 0,
Global = 1,
Extern = 2,
Unknown = 3,
}Variants§
Trait Implementations§
Source§impl Clone for VarLinkage
impl Clone for VarLinkage
Source§fn clone(&self) -> VarLinkage
fn clone(&self) -> VarLinkage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VarLinkage
impl Debug for VarLinkage
impl Eq for VarLinkage
Source§impl From<u32> for VarLinkage
impl From<u32> for VarLinkage
Source§impl PartialEq for VarLinkage
impl PartialEq for VarLinkage
Source§fn eq(&self, other: &VarLinkage) -> bool
fn eq(&self, other: &VarLinkage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VarLinkage
Auto Trait Implementations§
impl Freeze for VarLinkage
impl RefUnwindSafe for VarLinkage
impl Send for VarLinkage
impl Sync for VarLinkage
impl Unpin for VarLinkage
impl UnsafeUnpin for VarLinkage
impl UnwindSafe for VarLinkage
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