pub struct Overlay {
pub id: u64,
pub track: u8,
pub start_ms: u64,
pub duration_ms: u64,
pub kind: OverlayKind,
}Expand description
Something over the film for a while, on a track of the timeline.
Fields§
§id: u64Its identity, which edits do not change.
track: u8Its track, from 0.
start_ms: u64When it starts on the timeline, in milliseconds.
duration_ms: u64How long it lasts.
kind: OverlayKindWhat it does.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Overlay
impl<'de> Deserialize<'de> for Overlay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Overlay
Auto Trait Implementations§
impl Freeze for Overlay
impl RefUnwindSafe for Overlay
impl Send for Overlay
impl Sync for Overlay
impl Unpin for Overlay
impl UnsafeUnpin for Overlay
impl UnwindSafe for Overlay
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