pub struct Desc {
pub country_indicator: u16,
pub language_indicator: u16,
pub text: String,
}Expand description
An iTunes-style desc (description) metadata item.
Like the other iTunes ilst text items (Copyright, Tool), the value
is normally wrapped in a nested data atom (desc → data → text); FFmpeg
also emits a “short” style where the value follows the item header directly.
Both layouts are handled by the shared data codec. Decoding
the data-wrapped form as a bare string (as the previous implementation did)
consumed only up to the first NUL of the data box’s own length field and
failed the whole moov with UnderDecode(desc).
Fields§
§country_indicator: u16§language_indicator: u16§text: StringTrait Implementations§
impl Eq for Desc
impl StructuralPartialEq for Desc
Auto Trait Implementations§
impl Freeze for Desc
impl RefUnwindSafe for Desc
impl Send for Desc
impl Sync for Desc
impl Unpin for Desc
impl UnsafeUnpin for Desc
impl UnwindSafe for Desc
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