Trait plasma::PhaseAmpAccess
source · pub trait PhaseAmpAccess {
// Required methods
fn phase(&self) -> f32;
fn amplitude(&self) -> f32;
fn set_phase(&mut self, phase: f32);
fn set_amplitude(&mut self, amplitude: f32);
// Provided method
fn export(&self, out: &mut Vec<f32>) { ... }
}
Expand description
A trait for querying and updating phase’n’amplitude