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