[−][src]Struct infrared::protocols::rc5::Rc5Command
Fields
addr: u8cmd: u8start: u8toggle: u8Implementations
impl Rc5Command[src]
pub const fn new(addr: u8, cmd: u8, toggle: bool) -> Self[src]
pub const fn from_bits(bits: u16) -> Self[src]
pub fn to_bits(&self) -> u16[src]
Trait Implementations
impl Clone for Rc5Command[src]
fn clone(&self) -> Rc5Command[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Command for Rc5Command[src]
fn construct(addr: u32, cmd: u32) -> Option<Rc5Command>[src]
fn address(&self) -> u32[src]
fn data(&self) -> u32[src]
fn protocol(&self) -> Protocol[src]
impl Copy for Rc5Command[src]
impl Debug for Rc5Command[src]
impl Eq for Rc5Command[src]
impl PartialEq<Rc5Command> for Rc5Command[src]
fn eq(&self, other: &Rc5Command) -> bool[src]
fn ne(&self, other: &Rc5Command) -> bool[src]
impl PwmPinSender<Rc5Command> for Rc5Sender[src]
fn step_pwm<PWMPIN, DUTY>(&mut self, ts: u32, pwm: &mut PWMPIN) -> State where
PWMPIN: PwmPin<Duty = DUTY>, [src]
PWMPIN: PwmPin<Duty = DUTY>,
impl Sender<Rc5Command> for Rc5Sender[src]
fn load(&mut self, cmd: Rc5Command)[src]
fn step(&mut self, ts: u32) -> State[src]
fn reset(&mut self)[src]
impl StructuralEq for Rc5Command[src]
impl StructuralPartialEq for Rc5Command[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,