struct Candidate {
rank: (u16, u32, u8),
rate: SampleRate,
config: StreamConfig,
format: InputFormat,
}Expand description
One openable offer, scored the way the negotiation chooses between them.
Fields§
§rank: (u16, u32, u8)Channels first, then the distance from the model rate, and only then the format, where F32 wins a tie because it needs no conversion.
rate: SampleRate§config: StreamConfig§format: InputFormatImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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