pub struct InitStep {
pub cmd: u8,
pub params: &'static [u8],
pub delay_ms: u16,
}Expand description
One step of a controller initialisation script.
Fields§
§cmd: u8Command opcode.
params: &'static [u8]Parameter bytes sent with DC high.
delay_ms: u16Time to wait after the command, in milliseconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InitStep
impl RefUnwindSafe for InitStep
impl Send for InitStep
impl Sync for InitStep
impl Unpin for InitStep
impl UnsafeUnpin for InitStep
impl UnwindSafe for InitStep
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)