pub enum WeightType {
Fix,
Variable,
}Variants§
Trait Implementations§
Source§impl Clone for WeightType
impl Clone for WeightType
Source§fn clone(&self) -> WeightType
fn clone(&self) -> WeightType
Returns a duplicate 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 WeightType
impl Debug for WeightType
Source§impl<'de> Deserialize<'de> for WeightType
impl<'de> Deserialize<'de> for WeightType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WeightType
impl PartialEq for WeightType
Source§impl Serialize for WeightType
impl Serialize for WeightType
impl Eq for WeightType
impl StructuralPartialEq for WeightType
Auto Trait Implementations§
impl Freeze for WeightType
impl RefUnwindSafe for WeightType
impl Send for WeightType
impl Sync for WeightType
impl Unpin for WeightType
impl UnsafeUnpin for WeightType
impl UnwindSafe for WeightType
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