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