Struct tinkerforge::imu_brick::SpitfpBaudrateConfig
source · pub struct SpitfpBaudrateConfig {
pub enable_dynamic_baudrate: bool,
pub minimum_dynamic_baudrate: u32,
}
Fields§
§enable_dynamic_baudrate: bool
§minimum_dynamic_baudrate: u32
Trait Implementations§
source§impl Clone for SpitfpBaudrateConfig
impl Clone for SpitfpBaudrateConfig
source§fn clone(&self) -> SpitfpBaudrateConfig
fn clone(&self) -> SpitfpBaudrateConfig
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 SpitfpBaudrateConfig
impl Debug for SpitfpBaudrateConfig
source§impl Default for SpitfpBaudrateConfig
impl Default for SpitfpBaudrateConfig
source§fn default() -> SpitfpBaudrateConfig
fn default() -> SpitfpBaudrateConfig
Returns the “default value” for a type. Read more
source§impl FromByteSlice for SpitfpBaudrateConfig
impl FromByteSlice for SpitfpBaudrateConfig
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]) -> SpitfpBaudrateConfig
fn from_le_byte_slice(bytes: &[u8]) -> SpitfpBaudrateConfig
Deserialize the implementing type from a byte slice.
source§impl Hash for SpitfpBaudrateConfig
impl Hash for SpitfpBaudrateConfig
source§impl PartialEq for SpitfpBaudrateConfig
impl PartialEq for SpitfpBaudrateConfig
source§fn eq(&self, other: &SpitfpBaudrateConfig) -> bool
fn eq(&self, other: &SpitfpBaudrateConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpitfpBaudrateConfig
impl Eq for SpitfpBaudrateConfig
impl StructuralPartialEq for SpitfpBaudrateConfig
Auto Trait Implementations§
impl RefUnwindSafe for SpitfpBaudrateConfig
impl Send for SpitfpBaudrateConfig
impl Sync for SpitfpBaudrateConfig
impl Unpin for SpitfpBaudrateConfig
impl UnwindSafe for SpitfpBaudrateConfig
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