Fields
option: char
min: i32
max: i32
Trait Implementations
sourceimpl Clone for WeightCallbackThreshold
impl Clone for WeightCallbackThreshold
sourcefn clone(&self) -> WeightCallbackThreshold
fn clone(&self) -> WeightCallbackThreshold
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 moresourceimpl Debug for WeightCallbackThreshold
impl Debug for WeightCallbackThreshold
sourceimpl Default for WeightCallbackThreshold
impl Default for WeightCallbackThreshold
sourcefn default() -> WeightCallbackThreshold
fn default() -> WeightCallbackThreshold
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for WeightCallbackThreshold
impl FromByteSlice for WeightCallbackThreshold
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> WeightCallbackThreshold
fn from_le_bytes(bytes: &[u8]) -> WeightCallbackThreshold
Deserialize the implementing type from a byte slice.
sourceimpl Hash for WeightCallbackThreshold
impl Hash for WeightCallbackThreshold
sourceimpl PartialEq<WeightCallbackThreshold> for WeightCallbackThreshold
impl PartialEq<WeightCallbackThreshold> for WeightCallbackThreshold
sourcefn eq(&self, other: &WeightCallbackThreshold) -> bool
fn eq(&self, other: &WeightCallbackThreshold) -> bool
impl Copy for WeightCallbackThreshold
impl Eq for WeightCallbackThreshold
impl StructuralEq for WeightCallbackThreshold
impl StructuralPartialEq for WeightCallbackThreshold
Auto Trait Implementations
impl RefUnwindSafe for WeightCallbackThreshold
impl Send for WeightCallbackThreshold
impl Sync for WeightCallbackThreshold
impl Unpin for WeightCallbackThreshold
impl UnwindSafe for WeightCallbackThreshold
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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