Struct infrared::protocol::denon::DenonCommand
source · pub struct DenonCommand {
pub bits: u64,
}
Fields§
§bits: u64
Trait Implementations§
source§impl Debug for DenonCommand
impl Debug for DenonCommand
source§impl From<DenonCommand> for MultiReceiverCommand
impl From<DenonCommand> for MultiReceiverCommand
source§fn from(cmd: DenonCommand) -> MultiReceiverCommand
fn from(cmd: DenonCommand) -> MultiReceiverCommand
Converts to this type from the input type.
source§impl<Mono: InfraMonotonic> ProtocolDecoder<Mono, DenonCommand> for DenonDecoder<Mono>
impl<Mono: InfraMonotonic> ProtocolDecoder<Mono, DenonCommand> for DenonDecoder<Mono>
source§fn event(&mut self, rising: bool, dt: Mono::Duration) -> State
fn event(&mut self, rising: bool, dt: Mono::Duration) -> State
Notify the state machine of a new event Read more
source§fn command(&self) -> Option<DenonCommand>
fn command(&self) -> Option<DenonCommand>
Get the command
Returns the data if State == Done, otherwise None
source§fn spans(&self) -> &PulseSpans<Mono>
fn spans(&self) -> &PulseSpans<Mono>
Get the time spans
source§fn event_total(
&mut self,
edge: bool,
dt: Mono::Duration
) -> Result<Option<Cmd>, DecodingError>
fn event_total(
&mut self,
edge: bool,
dt: Mono::Duration
) -> Result<Option<Cmd>, DecodingError>
I don’t care about the details, just give me a command (or an error)!