pub struct AudioInput {
pub source: InputSource,
}
Fields§
§source: InputSource
Implementations§
Source§impl AudioInput
impl AudioInput
pub fn from_bytes(filename: String, bytes: Bytes) -> Self
pub fn from_vec_u8(filename: String, vec: Vec<u8>) -> Self
Trait Implementations§
Source§impl Clone for AudioInput
impl Clone for AudioInput
Source§fn clone(&self) -> AudioInput
fn clone(&self) -> AudioInput
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 Debug for AudioInput
impl Debug for AudioInput
Source§impl Default for AudioInput
impl Default for AudioInput
Source§fn default() -> AudioInput
fn default() -> AudioInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for AudioInput
impl PartialEq for AudioInput
impl StructuralPartialEq for AudioInput
Auto Trait Implementations§
impl !Freeze for AudioInput
impl RefUnwindSafe for AudioInput
impl Send for AudioInput
impl Sync for AudioInput
impl Unpin for AudioInput
impl UnwindSafe for AudioInput
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