[][src]Struct pebble_sys::user_interface::vibes::VibePattern

#[repr(C)]pub struct VibePattern<'a> {
    pub durations: *const u32,
    pub num_segments: u32,
    pub phantom: PhantomData<&'a u32>,
}

Fields

durations: *const u32

Pointer 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: u32

Length of the array.

phantom: PhantomData<&'a u32>

Auto Trait Implementations

impl<'a> !Send for VibePattern<'a>

impl<'a> !Sync for VibePattern<'a>

impl<'a> Unpin for VibePattern<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.