pub struct AudioEncoderTestCase {
pub settings: EncoderSettings,
pub input_framelength: usize,
pub input_frames_per_second: u32,
pub channel_count: usize,
pub output_tests: Vec<AudioEncoderOutputTest>,
}Fields§
§settings: EncoderSettings§input_framelength: usizeThe number of PCM input frames per encoded frame.
input_frames_per_second: u32Sampling frequency to use for generating input for timestamp-related tests.
channel_count: usize§output_tests: Vec<AudioEncoderOutputTest>Implementations§
Auto Trait Implementations§
impl Freeze for AudioEncoderTestCase
impl RefUnwindSafe for AudioEncoderTestCase
impl Send for AudioEncoderTestCase
impl Sync for AudioEncoderTestCase
impl Unpin for AudioEncoderTestCase
impl UnsafeUnpin for AudioEncoderTestCase
impl UnwindSafe for AudioEncoderTestCase
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more