Struct symphonia_core::probe::Hint
source · pub struct Hint { /* private fields */ }
Expand description
A Hint
provides additional information and context when probing a media source stream.
For example, the Probe
cannot examine the extension or mime-type of the media because
MediaSourceStream
abstracts away such details. However, the embedder may have this information
from a file path, HTTP header, email attachment metadata, etc. Hint
s are optional, and won’t
lead the probe astray if they’re wrong, but they may provide an informed initial guess and
optimize the guessing process siginificantly especially as more formats are registered.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Hint
impl Send for Hint
impl Sync for Hint
impl Unpin for Hint
impl UnwindSafe for Hint
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