pub struct Piece {
pub from: i64,
pub frames: i64,
pub base: Base,
pub grade: Grade,
pub layers: Vec<Layer>,
pub shown: Vec<usize>,
pub overlays: Vec<Overlay>,
pub recipe: Value,
}Expand description
A lowered piece: comp frames from..from + frames.
Fields§
§from: i64§frames: i64§base: Base§grade: GradeThe pass’s grade (size: the render size).
layers: Vec<Layer>Bottom first, frame ranges relative to from.
shown: Vec<usize>Indices of the comp layers in layers (the promoted one excluded).
overlays: Vec<Overlay>Text layers’ masks, frame ranges relative to from, each under the layer it is below.
recipe: ValueCanonical JSON of what the piece renders: sampled values, not track definitions.
Trait Implementations§
impl StructuralPartialEq for Piece
Auto Trait Implementations§
impl Forget for Piece
impl Freeze for Piece
impl RefUnwindSafe for Piece
impl Send for Piece
impl Sync for Piece
impl Unpin for Piece
impl UnsafeUnpin for Piece
impl UnwindSafe for Piece
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