Enum inkwell::DLLStorageClass
source · pub enum DLLStorageClass {
Default,
Import,
Export,
}
Variants§
Trait Implementations§
source§impl Clone for DLLStorageClass
impl Clone for DLLStorageClass
source§fn clone(&self) -> DLLStorageClass
fn clone(&self) -> DLLStorageClass
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 DLLStorageClass
impl Debug for DLLStorageClass
source§impl Default for DLLStorageClass
impl Default for DLLStorageClass
source§impl From<LLVMDLLStorageClass> for DLLStorageClass
impl From<LLVMDLLStorageClass> for DLLStorageClass
source§fn from(src: LLVMDLLStorageClass) -> Self
fn from(src: LLVMDLLStorageClass) -> Self
Converts to this type from the input type.
source§impl Hash for DLLStorageClass
impl Hash for DLLStorageClass
source§impl Into<LLVMDLLStorageClass> for DLLStorageClass
impl Into<LLVMDLLStorageClass> for DLLStorageClass
source§fn into(self) -> LLVMDLLStorageClass
fn into(self) -> LLVMDLLStorageClass
Converts this type into the (usually inferred) input type.
source§impl Ord for DLLStorageClass
impl Ord for DLLStorageClass
source§fn cmp(&self, other: &DLLStorageClass) -> Ordering
fn cmp(&self, other: &DLLStorageClass) -> 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 DLLStorageClass
impl PartialEq for DLLStorageClass
source§fn eq(&self, other: &DLLStorageClass) -> bool
fn eq(&self, other: &DLLStorageClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DLLStorageClass
impl PartialOrd for DLLStorageClass
source§fn partial_cmp(&self, other: &DLLStorageClass) -> Option<Ordering>
fn partial_cmp(&self, other: &DLLStorageClass) -> 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 DLLStorageClass
impl Eq for DLLStorageClass
impl StructuralPartialEq for DLLStorageClass
Auto Trait Implementations§
impl Freeze for DLLStorageClass
impl RefUnwindSafe for DLLStorageClass
impl Send for DLLStorageClass
impl Sync for DLLStorageClass
impl Unpin for DLLStorageClass
impl UnwindSafe for DLLStorageClass
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more