pub struct SpitfpBaudrateConfig {
pub enable_dynamic_baudrate: bool,
pub minimum_dynamic_baudrate: u32,
}
Fields
enable_dynamic_baudrate: bool
minimum_dynamic_baudrate: u32
Trait Implementations
sourceimpl Clone for SpitfpBaudrateConfig
impl Clone for SpitfpBaudrateConfig
sourcefn clone(&self) -> SpitfpBaudrateConfig
fn clone(&self) -> SpitfpBaudrateConfig
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 SpitfpBaudrateConfig
impl Debug for SpitfpBaudrateConfig
sourceimpl Default for SpitfpBaudrateConfig
impl Default for SpitfpBaudrateConfig
sourcefn default() -> SpitfpBaudrateConfig
fn default() -> SpitfpBaudrateConfig
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for SpitfpBaudrateConfig
impl FromByteSlice for SpitfpBaudrateConfig
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]) -> SpitfpBaudrateConfig
fn from_le_bytes(bytes: &[u8]) -> SpitfpBaudrateConfig
Deserialize the implementing type from a byte slice.
sourceimpl Hash for SpitfpBaudrateConfig
impl Hash for SpitfpBaudrateConfig
sourceimpl PartialEq<SpitfpBaudrateConfig> for SpitfpBaudrateConfig
impl PartialEq<SpitfpBaudrateConfig> for SpitfpBaudrateConfig
sourcefn eq(&self, other: &SpitfpBaudrateConfig) -> bool
fn eq(&self, other: &SpitfpBaudrateConfig) -> bool
impl Copy for SpitfpBaudrateConfig
impl Eq for SpitfpBaudrateConfig
impl StructuralEq 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
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