#[repr(C)]pub struct AudioStream {
pub buffer: *mut rAudioBuffer,
pub processor: *mut rAudioProcessor,
pub sampleRate: u32,
pub sampleSize: u32,
pub channels: u32,
}Fields§
§buffer: *mut rAudioBuffer§processor: *mut rAudioProcessor§sampleRate: u32§sampleSize: u32§channels: u32Trait Implementations§
Source§impl<'a> AsMut<AudioStream> for AudioStream<'a>
impl<'a> AsMut<AudioStream> for AudioStream<'a>
Source§fn as_mut(&mut self) -> &mut AudioStream
fn as_mut(&mut self) -> &mut AudioStream
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'aud> AsMut<AudioStream> for Sound<'aud>
impl<'aud> AsMut<AudioStream> for Sound<'aud>
Source§fn as_mut(&mut self) -> &mut AudioStream
fn as_mut(&mut self) -> &mut AudioStream
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<AudioStream> for AudioStream<'a>
impl<'a> AsRef<AudioStream> for AudioStream<'a>
Source§fn as_ref(&self) -> &AudioStream
fn as_ref(&self) -> &AudioStream
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'aud> AsRef<AudioStream> for Sound<'aud>
impl<'aud> AsRef<AudioStream> for Sound<'aud>
Source§fn as_ref(&self) -> &AudioStream
fn as_ref(&self) -> &AudioStream
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for AudioStream
impl Clone for AudioStream
Source§fn clone(&self) -> AudioStream
fn clone(&self) -> AudioStream
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 AudioStream
impl Debug for AudioStream
impl Copy for AudioStream
Auto Trait Implementations§
impl Freeze for AudioStream
impl RefUnwindSafe for AudioStream
impl !Send for AudioStream
impl !Sync for AudioStream
impl Unpin for AudioStream
impl UnsafeUnpin for AudioStream
impl UnwindSafe for AudioStream
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