Struct vcs_classic_hid::led::anims::Pulsate [−][src]
Pulsating LEDs.
Implementations
impl Pulsate
[src]
pub fn new() -> Self
[src]
pub fn new_with_selection(selection: LedSelection) -> Self
[src]
pub fn new_with_params(
selection: LedSelection,
tick_period: u64,
value_min: u8,
value_max: u8
) -> Self
[src]
selection: LedSelection,
tick_period: u64,
value_min: u8,
value_max: u8
) -> Self
Trait Implementations
impl Clone for Pulsate
[src]
impl Copy for Pulsate
[src]
impl Debug for Pulsate
[src]
impl Default for Pulsate
[src]
impl LedAnimation for Pulsate
[src]
fn update(&mut self, ticks: u64, report: &mut LedReport) -> AnimationEvent
[src]
fn reset(&mut self, ticks: u64)
[src]
impl PartialEq<Pulsate> for Pulsate
[src]
impl StructuralPartialEq for Pulsate
[src]
Auto Trait Implementations
impl RefUnwindSafe for Pulsate
impl Send for Pulsate
impl Sync for Pulsate
impl Unpin for Pulsate
impl UnwindSafe for Pulsate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,