pub struct MutableDateRangeMetadataGroup { /* private fields */ }Expand description
Re-exports the AVPlayer framework surface for this item.
Owned AVMutableDateRangeMetadataGroup wrapper.
Implementations§
Source§impl MutableDateRangeMetadataGroup
impl MutableDateRangeMetadataGroup
pub fn new( items: &[MetadataItem], start_date: &str, end_date: Option<&str>, ) -> Result<Self, AVPlayerError>
pub const fn as_metadata_group(&self) -> MetadataGroup<'_>
pub fn items(&self) -> Result<Vec<MetadataItem>, AVPlayerError>
pub fn classifying_label(&self) -> Result<Option<String>, AVPlayerError>
pub fn unique_id(&self) -> Result<Option<String>, AVPlayerError>
pub fn start_date(&self) -> Result<String, AVPlayerError>
pub fn end_date(&self) -> Result<Option<String>, AVPlayerError>
pub fn set_start_date(&mut self, start_date: &str) -> Result<(), AVPlayerError>
pub fn set_end_date( &mut self, end_date: Option<&str>, ) -> Result<(), AVPlayerError>
pub fn set_items(&mut self, items: &[MetadataItem]) -> Result<(), AVPlayerError>
Trait Implementations§
Source§impl Drop for MutableDateRangeMetadataGroup
impl Drop for MutableDateRangeMetadataGroup
impl Send for MutableDateRangeMetadataGroup
Auto Trait Implementations§
impl Freeze for MutableDateRangeMetadataGroup
impl RefUnwindSafe for MutableDateRangeMetadataGroup
impl !Sync for MutableDateRangeMetadataGroup
impl Unpin for MutableDateRangeMetadataGroup
impl UnsafeUnpin for MutableDateRangeMetadataGroup
impl UnwindSafe for MutableDateRangeMetadataGroup
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