Struct AnyChannelsWriter
pub struct AnyChannelsWriter<SamplesWriter> { /* private fields */ }
A temporary writer for an arbitrary list of channels
Trait Implementations
impl<Samples> ChannelsWriter for AnyChannelsWriter<Samples>
where
Samples: SamplesWriter,
fn extract_uncompressed_block(&self, header: &Header, block_index: BlockIndex) -> Vec<u8>
impl<SamplesWriter: Clone> Clone for AnyChannelsWriter<SamplesWriter>
fn clone(&self) -> Self
impl<SamplesWriter: Debug> Debug for AnyChannelsWriter<SamplesWriter>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<SamplesWriter: Eq> Eq for AnyChannelsWriter<SamplesWriter>
impl<SamplesWriter: PartialEq> PartialEq for AnyChannelsWriter<SamplesWriter>
fn eq(&self, other: &Self) -> bool
impl<SamplesWriter: PartialEq> StructuralPartialEq for AnyChannelsWriter<SamplesWriter>
Auto Trait Implementations
impl<SamplesWriter> Freeze for AnyChannelsWriter<SamplesWriter>
where
SmallVec<[SamplesWriter; 4]>: Freeze,
impl<SamplesWriter> RefUnwindSafe for AnyChannelsWriter<SamplesWriter>
where
SmallVec<[SamplesWriter; 4]>: RefUnwindSafe,
impl<SamplesWriter> Send for AnyChannelsWriter<SamplesWriter>
where
SmallVec<[SamplesWriter; 4]>: Send,
impl<SamplesWriter> Sync for AnyChannelsWriter<SamplesWriter>
where
SmallVec<[SamplesWriter; 4]>: Sync,
impl<SamplesWriter> Unpin for AnyChannelsWriter<SamplesWriter>
where
SmallVec<[SamplesWriter; 4]>: Unpin,
impl<SamplesWriter> UnsafeUnpin for AnyChannelsWriter<SamplesWriter>
where
SmallVec<[SamplesWriter; 4]>: UnsafeUnpin,
impl<SamplesWriter> UnwindSafe for AnyChannelsWriter<SamplesWriter>
where
SmallVec<[SamplesWriter; 4]>: UnwindSafe,
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for AnyChannelsWriter<SamplesWriter>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for AnyChannelsWriter<SamplesWriter>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for AnyChannelsWriter<SamplesWriter>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for AnyChannelsWriter<SamplesWriter>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for AnyChannelsWriter<SamplesWriter>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for AnyChannelsWriter<SamplesWriter>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for AnyChannelsWriter<SamplesWriter>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for AnyChannelsWriter<SamplesWriter>
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> Read<Exclusive, BecauseExclusive> for AnyChannelsWriter<SamplesWriter>
where
T: ?Sized,
impl<T> ToOwned for AnyChannelsWriter<SamplesWriter>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for AnyChannelsWriter<SamplesWriter>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for AnyChannelsWriter<SamplesWriter>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for AnyChannelsWriter<SamplesWriter>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>