pub struct BidirectionalDshot;Expand description
Bidirectional (inverted) DShot protocol.
Trait Implementations§
Source§impl Clone for BidirectionalDshot
impl Clone for BidirectionalDshot
Source§fn clone(&self) -> BidirectionalDshot
fn clone(&self) -> BidirectionalDshot
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 BidirectionalDshot
impl Debug for BidirectionalDshot
Source§impl DshotProtocol for BidirectionalDshot
impl DshotProtocol for BidirectionalDshot
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 BidirectionalDshot
Auto Trait Implementations§
impl Freeze for BidirectionalDshot
impl RefUnwindSafe for BidirectionalDshot
impl Send for BidirectionalDshot
impl Sync for BidirectionalDshot
impl Unpin for BidirectionalDshot
impl UnwindSafe for BidirectionalDshot
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