pub struct Target {
pub rendition: String,
pub config: u64,
}Expand description
What a decoder is built for: a rendition, under one decoder configuration.
The configuration is a generation number. A decoder change for the playing rendition is then a different target, while asking for the playing rendition again is not.
Fields§
§rendition: StringThe rendition’s track name.
config: u64The decoder settings generation, bumped on every change.
Implementations§
Trait Implementations§
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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