pub enum CowModelType {
Normal,
Cold,
Warm,
}Expand description
The model type for the cow, which can affect its shape.
Variants§
Trait Implementations§
Source§impl Clone for CowModelType
impl Clone for CowModelType
Source§fn clone(&self) -> CowModelType
fn clone(&self) -> CowModelType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CowModelType
Source§impl Debug for CowModelType
impl Debug for CowModelType
Source§impl Default for CowModelType
impl Default for CowModelType
Source§fn default() -> CowModelType
fn default() -> CowModelType
Returns the “default value” for a type. Read more
impl Eq for CowModelType
Source§impl PartialEq for CowModelType
impl PartialEq for CowModelType
Source§fn eq(&self, other: &CowModelType) -> bool
fn eq(&self, other: &CowModelType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CowModelType
Auto Trait Implementations§
impl Freeze for CowModelType
impl RefUnwindSafe for CowModelType
impl Send for CowModelType
impl Sync for CowModelType
impl Unpin for CowModelType
impl UnsafeUnpin for CowModelType
impl UnwindSafe for CowModelType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.