Enum rustflags::LinkModifier
source · #[non_exhaustive]pub enum LinkModifier {
Bundle,
Verbatim,
WholeArchive,
AsNeeded,
}
Expand description
Argument of -l
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for LinkModifier
impl Clone for LinkModifier
source§fn clone(&self) -> LinkModifier
fn clone(&self) -> LinkModifier
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 LinkModifier
impl Debug for LinkModifier
source§impl Display for LinkModifier
impl Display for LinkModifier
source§impl Hash for LinkModifier
impl Hash for LinkModifier
source§impl PartialEq for LinkModifier
impl PartialEq for LinkModifier
source§fn eq(&self, other: &LinkModifier) -> bool
fn eq(&self, other: &LinkModifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LinkModifier
impl Eq for LinkModifier
impl StructuralPartialEq for LinkModifier
Auto Trait Implementations§
impl Freeze for LinkModifier
impl RefUnwindSafe for LinkModifier
impl Send for LinkModifier
impl Sync for LinkModifier
impl Unpin for LinkModifier
impl UnwindSafe for LinkModifier
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