#[repr(C)]pub struct VibePattern<'a> {
pub durations: *const u32,
pub num_segments: u32,
pub phantom: PhantomData<&'a u32>,
}Fields§
§durations: *const u32Pointer to an array of segment durations in on(off on)*off? order, up to 10_000ms each. There must be at least one duration!
num_segments: u32Length of the array.
phantom: PhantomData<&'a u32>Auto Trait Implementations§
impl<'a> Freeze for VibePattern<'a>
impl<'a> RefUnwindSafe for VibePattern<'a>
impl<'a> !Send for VibePattern<'a>
impl<'a> !Sync for VibePattern<'a>
impl<'a> Unpin for VibePattern<'a>
impl<'a> UnwindSafe for VibePattern<'a>
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