pub enum SAtom {
Str(String),
MicroSample(Vec<f32>),
AudioSample((String, Option<Arc<Vec<f32>>>)),
Setting(i64),
Param(f32),
}
Variants
Str(String)
MicroSample(Vec<f32>)
AudioSample((String, Option<Arc<Vec<f32>>>))
Setting(i64)
Param(f32)
Implementations
sourceimpl SAtom
impl SAtom
pub fn str(s: &str) -> Self
pub fn setting(s: i64) -> Self
pub fn param(p: f32) -> Self
pub fn micro(m: &[f32]) -> Self
pub fn audio(s: &str, m: Arc<Vec<f32>>) -> Self
pub fn audio_unloaded(s: &str) -> Self
pub fn default_of(&self) -> Self
pub fn is_continous(&self) -> bool
pub fn i(&self) -> i64
pub fn s(&self) -> String
pub fn f(&self) -> f32
pub fn v_ref(&self) -> Option<&[f32]>
pub fn type_str(&self) -> &str
Trait Implementations
impl StructuralPartialEq for SAtom
Auto Trait Implementations
impl RefUnwindSafe for SAtom
impl Send for SAtom
impl Sync for SAtom
impl Unpin for SAtom
impl UnwindSafe for SAtom
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more