Enum cog_task::resource::audio::AudioBuffer
source · pub enum AudioBuffer {
None,
}Variants
None
Implementations
sourceimpl AudioBuffer
impl AudioBuffer
pub fn duration(&self) -> Duration
pub fn sample_rate(&self) -> u32
pub fn channels(&self) -> u16
pub fn interlace(self, other: AudioBuffer) -> Result<AudioBuffer>
pub fn drop_last(self) -> Result<AudioBuffer>
Trait Implementations
sourceimpl Clone for AudioBuffer
impl Clone for AudioBuffer
sourcefn clone(&self) -> AudioBuffer
fn clone(&self) -> AudioBuffer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for AudioBuffer
impl Send for AudioBuffer
impl Sync for AudioBuffer
impl Unpin for AudioBuffer
impl UnwindSafe for AudioBuffer
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