[−][src]Struct infrared::rc5::Rc5Command
Fields
addr: u8
cmd: u8
start: u8
toggle: u8
Methods
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 Transmitter<Rc5Command> for Rc5Transmitter
[src]
fn load(&mut self, cmd: Rc5Command)
[src]
fn step(&mut self, ts: u32) -> TransmitterState
[src]
fn reset(&mut self)
[src]
impl Debug for Rc5Command
[src]
impl PartialEq<Rc5Command> for Rc5Command
[src]
fn eq(&self, other: &Rc5Command) -> bool
[src]
fn ne(&self, other: &Rc5Command) -> bool
[src]
impl Eq for Rc5Command
[src]
impl Copy for Rc5Command
[src]
impl StructuralPartialEq for Rc5Command
[src]
impl StructuralEq for Rc5Command
[src]
impl Clone for Rc5Command
[src]
fn clone(&self) -> Rc5Command
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,