Enum cargo_wizard::TemplateItemId
source · pub enum TemplateItemId {
DebugInfo,
Strip,
Lto,
CodegenUnits,
Panic,
OptimizationLevel,
CodegenBackend,
FrontendThreads,
TargetCpuInstructionSet,
Linker,
}Expand description
Identifier of a specific item of a template.
Variants§
DebugInfo
Strip
Lto
CodegenUnits
Panic
OptimizationLevel
CodegenBackend
FrontendThreads
TargetCpuInstructionSet
Linker
Trait Implementations§
source§impl Clone for TemplateItemId
impl Clone for TemplateItemId
source§fn clone(&self) -> TemplateItemId
fn clone(&self) -> TemplateItemId
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 TemplateItemId
impl Debug for TemplateItemId
source§impl Hash for TemplateItemId
impl Hash for TemplateItemId
source§impl PartialEq for TemplateItemId
impl PartialEq for TemplateItemId
source§fn eq(&self, other: &TemplateItemId) -> bool
fn eq(&self, other: &TemplateItemId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TemplateItemId
impl Eq for TemplateItemId
impl StructuralPartialEq for TemplateItemId
Auto Trait Implementations§
impl RefUnwindSafe for TemplateItemId
impl Send for TemplateItemId
impl Sync for TemplateItemId
impl Unpin for TemplateItemId
impl UnwindSafe for TemplateItemId
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.