pub struct Ir {
pub pin: Option<i8>,
pub type_field: Option<u8>,
pub sel: Option<bool>,
}
Fields§
§pin: Option<i8>
Pin for this sensor. presumably fucking explodes if negative
type_field: Option<u8>
IR type 0 is disabled, go scour the undocumented WLED source code for the rest
sel: Option<bool>
apply IR to all selected segments; who knows what happens when false
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ir
impl<'de> Deserialize<'de> for Ir
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Ir
Auto Trait Implementations§
impl Freeze for Ir
impl RefUnwindSafe for Ir
impl Send for Ir
impl Sync for Ir
impl Unpin for Ir
impl UnwindSafe for Ir
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