Struct alsa::direct::pcm::RawSamples
source · pub struct RawSamples<S> {
pub ptr: *mut S,
pub frames: Frames,
pub channels: u32,
}
Expand description
A raw pointer to samples, and the amount of samples readable or writable.
Fields§
§ptr: *mut S
§frames: Frames
§channels: u32
Implementations§
Trait Implementations§
source§impl<S: Clone> Clone for RawSamples<S>
impl<S: Clone> Clone for RawSamples<S>
source§fn clone(&self) -> RawSamples<S>
fn clone(&self) -> RawSamples<S>
Returns a copy 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<S: Debug> Debug for RawSamples<S>
impl<S: Debug> Debug for RawSamples<S>
impl<S: Copy> Copy for RawSamples<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for RawSamples<S>where
S: RefUnwindSafe,
impl<S> !Send for RawSamples<S>
impl<S> !Sync for RawSamples<S>
impl<S> Unpin for RawSamples<S>
impl<S> UnwindSafe for RawSamples<S>where
S: RefUnwindSafe,
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