Enum cargo_toml_builder::types::CrateType
source · pub enum CrateType {
Dylib,
Rlib,
Staticlib,
Cdylib,
ProcMacro,
}
Expand description
Represents the choices for the crate-type
attribute
Variants
Dylib
type = "dylib"
Rlib
type = "rlib"
Staticlib
type = "staticlib"
Cdylib
type = "cdylib"
ProcMacro
type = "proc-macro"
Trait Implementations
impl Copy for CrateType
impl StructuralPartialEq for CrateType
Auto Trait Implementations
impl RefUnwindSafe for CrateType
impl Send for CrateType
impl Sync for CrateType
impl Unpin for CrateType
impl UnwindSafe for CrateType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more