Enum chef::OptimisationProfile
source · [−]pub enum OptimisationProfile {
Release,
Debug,
Other(String),
}
Variants
Release
Debug
Other(String)
Trait Implementations
sourceimpl Clone for OptimisationProfile
impl Clone for OptimisationProfile
sourcefn clone(&self) -> OptimisationProfile
fn clone(&self) -> OptimisationProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OptimisationProfile
impl Debug for OptimisationProfile
sourceimpl PartialEq<OptimisationProfile> for OptimisationProfile
impl PartialEq<OptimisationProfile> for OptimisationProfile
sourcefn eq(&self, other: &OptimisationProfile) -> bool
fn eq(&self, other: &OptimisationProfile) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OptimisationProfile) -> bool
fn ne(&self, other: &OptimisationProfile) -> bool
This method tests for !=
.
impl Eq for OptimisationProfile
impl StructuralEq for OptimisationProfile
impl StructuralPartialEq for OptimisationProfile
Auto Trait Implementations
impl RefUnwindSafe for OptimisationProfile
impl Send for OptimisationProfile
impl Sync for OptimisationProfile
impl Unpin for OptimisationProfile
impl UnwindSafe for OptimisationProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.