pub enum PigModelType {
Normal,
Cold,
}Expand description
The model type for the pig, which can affect its shape.
Variants§
Trait Implementations§
Source§impl Clone for PigModelType
impl Clone for PigModelType
Source§fn clone(&self) -> PigModelType
fn clone(&self) -> PigModelType
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 PigModelType
Source§impl Debug for PigModelType
impl Debug for PigModelType
Source§impl Default for PigModelType
impl Default for PigModelType
Source§fn default() -> PigModelType
fn default() -> PigModelType
Returns the “default value” for a type. Read more
impl Eq for PigModelType
Source§impl PartialEq for PigModelType
impl PartialEq for PigModelType
Source§fn eq(&self, other: &PigModelType) -> bool
fn eq(&self, other: &PigModelType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PigModelType
Auto Trait Implementations§
impl Freeze for PigModelType
impl RefUnwindSafe for PigModelType
impl Send for PigModelType
impl Sync for PigModelType
impl Unpin for PigModelType
impl UnsafeUnpin for PigModelType
impl UnwindSafe for PigModelType
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.