pub struct WeightCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
pub option: char,
pub min: i32,
pub max: i32,
}
Fields
period: u32
value_has_to_change: bool
option: char
min: i32
max: i32
Trait Implementations
sourceimpl Clone for WeightCallbackConfiguration
impl Clone for WeightCallbackConfiguration
sourcefn clone(&self) -> WeightCallbackConfiguration
fn clone(&self) -> WeightCallbackConfiguration
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 WeightCallbackConfiguration
impl Debug for WeightCallbackConfiguration
sourceimpl Default for WeightCallbackConfiguration
impl Default for WeightCallbackConfiguration
sourcefn default() -> WeightCallbackConfiguration
fn default() -> WeightCallbackConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for WeightCallbackConfiguration
impl FromByteSlice for WeightCallbackConfiguration
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]) -> WeightCallbackConfiguration
fn from_le_bytes(bytes: &[u8]) -> WeightCallbackConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for WeightCallbackConfiguration
impl Hash for WeightCallbackConfiguration
sourceimpl PartialEq<WeightCallbackConfiguration> for WeightCallbackConfiguration
impl PartialEq<WeightCallbackConfiguration> for WeightCallbackConfiguration
sourcefn eq(&self, other: &WeightCallbackConfiguration) -> bool
fn eq(&self, other: &WeightCallbackConfiguration) -> bool
impl Copy for WeightCallbackConfiguration
impl Eq for WeightCallbackConfiguration
impl StructuralEq for WeightCallbackConfiguration
impl StructuralPartialEq for WeightCallbackConfiguration
Auto Trait Implementations
impl RefUnwindSafe for WeightCallbackConfiguration
impl Send for WeightCallbackConfiguration
impl Sync for WeightCallbackConfiguration
impl Unpin for WeightCallbackConfiguration
impl UnwindSafe for WeightCallbackConfiguration
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