pub struct NormalDshot;Expand description
Standard (non-inverted) DShot protocol.
Trait Implementations§
Source§impl Clone for NormalDshot
impl Clone for NormalDshot
Source§fn clone(&self) -> NormalDshot
fn clone(&self) -> NormalDshot
Returns a duplicate 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 NormalDshot
impl Debug for NormalDshot
Source§impl DshotProtocol for NormalDshot
impl DshotProtocol for NormalDshot
Source§fn compute_crc(value: u16) -> u16
fn compute_crc(value: u16) -> u16
Computes the 4-bit CRC for the upper 12 bits of the frame.
Source§fn is_inverted() -> bool
fn is_inverted() -> bool
Returns
true if the signal is inverted (bidirectional mode).impl Copy for NormalDshot
Auto Trait Implementations§
impl Freeze for NormalDshot
impl RefUnwindSafe for NormalDshot
impl Send for NormalDshot
impl Sync for NormalDshot
impl Unpin for NormalDshot
impl UnwindSafe for NormalDshot
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