pub struct SourceClip {
pub interchange: InterchangeObjectFields,
pub data_definition: UlBytes,
pub duration: Option<i64>,
pub start_position: i64,
pub source_package_id: PackageId,
pub source_track_id: u32,
pub dark: Vec<(u16, Vec<u8>)>,
}Expand description
The Source Clip Set — SMPTE ST 377-1:2019 Annex B §B.10 (byte 14/15
= 0x01/0x11): references a contiguous span of essence from a
Source Package Track, identified by its UMID, Track ID, and a start
position within that track.
Fields§
§interchange: InterchangeObjectFieldsInterchange Object (A.1) base properties.
data_definition: UlBytesData Definition (0x0201, Req) — UL identifying the essence kind.
duration: Option<i64>Duration (0x0202, Opt) — edit-unit count for this clip.
start_position: i64Start Position (0x1201, Req) — the position in the referenced
Track where this clip starts.
source_package_id: PackageIdSource Package ID (0x1101, Req) — the UMID of the referenced
Source Package (all-zero terminates the chain).
source_track_id: u32Source Track ID (0x1102, Req) — the Track ID within the
referenced Source Package.
dark: Vec<(u16, Vec<u8>)>Unrecognized properties preserved for round-trip fidelity.
Trait Implementations§
Source§impl Clone for SourceClip
impl Clone for SourceClip
Source§fn clone(&self) -> SourceClip
fn clone(&self) -> SourceClip
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceClip
impl Debug for SourceClip
impl Eq for SourceClip
Source§impl<'a> Parse<'a> for SourceClip
impl<'a> Parse<'a> for SourceClip
Source§impl PartialEq for SourceClip
impl PartialEq for SourceClip
Source§impl Serialize for SourceClip
impl Serialize for SourceClip
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for SourceClip
Auto Trait Implementations§
impl Freeze for SourceClip
impl RefUnwindSafe for SourceClip
impl Send for SourceClip
impl Sync for SourceClip
impl Unpin for SourceClip
impl UnsafeUnpin for SourceClip
impl UnwindSafe for SourceClip
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