pub struct WeightCallbackThreshold {
pub option: char,
pub min: i32,
pub max: i32,
}
Fields§
§option: char
§min: i32
§max: i32
Trait Implementations§
Source§impl Clone for WeightCallbackThreshold
impl Clone for WeightCallbackThreshold
Source§fn clone(&self) -> WeightCallbackThreshold
fn clone(&self) -> WeightCallbackThreshold
Returns a copy 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 WeightCallbackThreshold
impl Debug for WeightCallbackThreshold
Source§impl Default for WeightCallbackThreshold
impl Default for WeightCallbackThreshold
Source§fn default() -> WeightCallbackThreshold
fn default() -> WeightCallbackThreshold
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for WeightCallbackThreshold
impl FromByteSlice for WeightCallbackThreshold
Source§fn 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.
Source§fn from_le_byte_slice(bytes: &[u8]) -> WeightCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> WeightCallbackThreshold
Deserialize the implementing type from a byte slice.
Source§impl Hash for WeightCallbackThreshold
impl Hash for WeightCallbackThreshold
Source§impl PartialEq for WeightCallbackThreshold
impl PartialEq for WeightCallbackThreshold
impl Copy for WeightCallbackThreshold
impl Eq for WeightCallbackThreshold
impl StructuralPartialEq for WeightCallbackThreshold
Auto Trait Implementations§
impl Freeze for WeightCallbackThreshold
impl RefUnwindSafe for WeightCallbackThreshold
impl Send for WeightCallbackThreshold
impl Sync for WeightCallbackThreshold
impl Unpin for WeightCallbackThreshold
impl UnwindSafe for WeightCallbackThreshold
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