pub enum LineBufData {
I32(*mut i32),
I64(*mut i64),
F32(*mut f32),
None,
}Expand description
Discriminated pointer to the actual sample data in a LineBuf.
Variants§
I32(*mut i32)
32-bit signed integer samples.
I64(*mut i64)
64-bit signed integer samples.
F32(*mut f32)
32-bit floating-point samples.
None
No buffer allocated yet.
Trait Implementations§
Source§impl Clone for LineBufData
impl Clone for LineBufData
Source§fn clone(&self) -> LineBufData
fn clone(&self) -> LineBufData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LineBufData
impl Debug for LineBufData
impl Copy for LineBufData
Auto Trait Implementations§
impl Freeze for LineBufData
impl RefUnwindSafe for LineBufData
impl !Send for LineBufData
impl !Sync for LineBufData
impl Unpin for LineBufData
impl UnsafeUnpin for LineBufData
impl UnwindSafe for LineBufData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more