Enum cpal::SupportedBufferSize
source · pub enum SupportedBufferSize {
Range {
min: FrameCount,
max: FrameCount,
},
Unknown,
}
Expand description
Describes the minimum and maximum supported buffer size for the device
Variants§
Range
Unknown
In the case that the platform provides no way of getting the default buffersize before starting a stream.
Trait Implementations§
source§impl Clone for SupportedBufferSize
impl Clone for SupportedBufferSize
source§fn clone(&self) -> SupportedBufferSize
fn clone(&self) -> SupportedBufferSize
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 SupportedBufferSize
impl Debug for SupportedBufferSize
source§impl PartialEq for SupportedBufferSize
impl PartialEq for SupportedBufferSize
source§fn eq(&self, other: &SupportedBufferSize) -> bool
fn eq(&self, other: &SupportedBufferSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SupportedBufferSize
impl StructuralEq for SupportedBufferSize
impl StructuralPartialEq for SupportedBufferSize
Auto Trait Implementations§
impl RefUnwindSafe for SupportedBufferSize
impl Send for SupportedBufferSize
impl Sync for SupportedBufferSize
impl Unpin for SupportedBufferSize
impl UnwindSafe for SupportedBufferSize
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