pub struct Tr {
pub mode: Option<bool>,
pub dur: Option<u16>,
pub pal: Option<u8>,
pub rpc: Option<u8>,
}
Expand description
transition stuff, tired of documenting speghetti
Fields§
§mode: Option<bool>
see struct documentation
dur: Option<u16>
default transition time / 100
pal: Option<u8>
see struct documentation
rpc: Option<u8>
amount of time [s] between random palette changes (min: 1s, max: 255s)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tr
impl<'de> Deserialize<'de> for Tr
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 Tr
Auto Trait Implementations§
impl Freeze for Tr
impl RefUnwindSafe for Tr
impl Send for Tr
impl Sync for Tr
impl Unpin for Tr
impl UnwindSafe for Tr
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