Struct gilrs::ff::Effect
[−]
[src]
pub struct Effect { /* fields omitted */ }
Represents effect uploaded to device
Methods
impl Effect
[src]
fn upload(&mut self, data: EffectData) -> Result<(), Error>
Upload new data to effect. Depending on platform and device, this function may stop effect and start playing it from beginning.
fn play(&mut self, n: u16) -> Result<(), Error>
Play effect.
fn stop(&mut self)
Stop playing effect.