Struct symphonia_core::meta::MetadataBuilder
source · pub struct MetadataBuilder { /* private fields */ }
Expand description
MetadataBuilder
is the builder for Metadata
revisions.
Implementations§
source§impl MetadataBuilder
impl MetadataBuilder
sourcepub fn add_visual(&mut self, visual: Visual) -> &mut Self
pub fn add_visual(&mut self, visual: Visual) -> &mut Self
Add a Visual
to the metadata.
sourcepub fn add_vendor_data(&mut self, vendor_data: VendorData) -> &mut Self
pub fn add_vendor_data(&mut self, vendor_data: VendorData) -> &mut Self
Add VendorData
to the metadata.
sourcepub fn metadata(self) -> MetadataRevision
pub fn metadata(self) -> MetadataRevision
Yield the constructed Metadata
revision.
Trait Implementations§
source§impl Clone for MetadataBuilder
impl Clone for MetadataBuilder
source§fn clone(&self) -> MetadataBuilder
fn clone(&self) -> MetadataBuilder
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 MetadataBuilder
impl Debug for MetadataBuilder
source§impl Default for MetadataBuilder
impl Default for MetadataBuilder
source§fn default() -> MetadataBuilder
fn default() -> MetadataBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MetadataBuilder
impl Send for MetadataBuilder
impl Sync for MetadataBuilder
impl Unpin for MetadataBuilder
impl UnwindSafe for MetadataBuilder
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