#[repr(u32)]pub enum LinkageType {
Export = 0,
Import = 1,
}
Variants§
Implementations§
Source§impl LinkageType
impl LinkageType
pub fn from(val: u32) -> Option<LinkageType>
Trait Implementations§
Source§impl Clone for LinkageType
impl Clone for LinkageType
Source§fn clone(&self) -> LinkageType
fn clone(&self) -> LinkageType
Returns a copy of the value. Read more
1.0.0 · 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 LinkageType
impl Debug for LinkageType
Source§impl Hash for LinkageType
impl Hash for LinkageType
Source§impl PartialEq for LinkageType
impl PartialEq for LinkageType
impl Copy for LinkageType
impl StructuralPartialEq for LinkageType
Auto Trait Implementations§
impl Freeze for LinkageType
impl RefUnwindSafe for LinkageType
impl Send for LinkageType
impl Sync for LinkageType
impl Unpin for LinkageType
impl UnwindSafe for LinkageType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)