Enum spirv::LinkageType
source · #[repr(u32)]pub enum LinkageType {
Export = 0,
Import = 1,
LinkOnceODR = 2,
}
Expand description
SPIR-V operand kind: LinkageType
Variants§
Implementations§
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 FromStr for LinkageType
impl FromStr for LinkageType
source§impl Hash for LinkageType
impl Hash for LinkageType
source§impl Ord for LinkageType
impl Ord for LinkageType
source§fn cmp(&self, other: &LinkageType) -> Ordering
fn cmp(&self, other: &LinkageType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for LinkageType
impl PartialEq for LinkageType
source§fn eq(&self, other: &LinkageType) -> bool
fn eq(&self, other: &LinkageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LinkageType
impl PartialOrd for LinkageType
source§fn partial_cmp(&self, other: &LinkageType) -> Option<Ordering>
fn partial_cmp(&self, other: &LinkageType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LinkageType
impl Eq 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