pub struct Segment {
pub key: Key,
pub name: String,
pub start: i64,
pub frames: i64,
pub unit: Unit,
pub layers: Vec<SegLayer>,
}Expand description
One render unit of the picture.
Fields§
§key: Key§name: String§start: i64Timeline frame it starts at (display only, not in the key).
frames: i64§unit: Unit§layers: Vec<SegLayer>Overlay clips over it (picture-in-picture, stickers), bottom first.
Trait Implementations§
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Forget for Segment
impl Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segment
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