Enum rustflags::LibraryKind
source · #[non_exhaustive]pub enum LibraryKind {
Dependency,
Crate,
Native,
Framework,
All,
}
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 LibraryKind
impl Clone for LibraryKind
source§fn clone(&self) -> LibraryKind
fn clone(&self) -> LibraryKind
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 LibraryKind
impl Debug for LibraryKind
source§impl Default for LibraryKind
impl Default for LibraryKind
source§fn default() -> LibraryKind
fn default() -> LibraryKind
Returns the “default value” for a type. Read more
source§impl Display for LibraryKind
impl Display for LibraryKind
source§impl Hash for LibraryKind
impl Hash for LibraryKind
source§impl PartialEq for LibraryKind
impl PartialEq for LibraryKind
source§fn eq(&self, other: &LibraryKind) -> bool
fn eq(&self, other: &LibraryKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LibraryKind
impl Eq for LibraryKind
impl StructuralPartialEq for LibraryKind
Auto Trait Implementations§
impl Freeze for LibraryKind
impl RefUnwindSafe for LibraryKind
impl Send for LibraryKind
impl Sync for LibraryKind
impl Unpin for LibraryKind
impl UnwindSafe for LibraryKind
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