Struct symphonia_core::meta::MetadataOptions
source · pub struct MetadataOptions {
pub limit_metadata_bytes: Limit,
pub limit_visual_bytes: Limit,
}
Expand description
MetadataOptions
is a common set of options that all metadata readers use.
Fields§
§limit_metadata_bytes: Limit
The maximum size limit in bytes that a tag may occupy in memory once decoded. Tags exceeding this limit will be skipped by the demuxer. Take note that tags in-memory are stored as UTF-8 and therefore may occupy more than one byte per character.
limit_visual_bytes: Limit
The maximum size limit in bytes that a visual (picture) may occupy.
Trait Implementations§
source§impl Clone for MetadataOptions
impl Clone for MetadataOptions
source§fn clone(&self) -> MetadataOptions
fn clone(&self) -> MetadataOptions
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 MetadataOptions
impl Debug for MetadataOptions
source§impl Default for MetadataOptions
impl Default for MetadataOptions
source§fn default() -> MetadataOptions
fn default() -> MetadataOptions
Returns the “default value” for a type. Read more
impl Copy for MetadataOptions
Auto Trait Implementations§
impl RefUnwindSafe for MetadataOptions
impl Send for MetadataOptions
impl Sync for MetadataOptions
impl Unpin for MetadataOptions
impl UnwindSafe for MetadataOptions
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