pub struct EvaluatedLayer<'a> {
pub clip: &'a ClipId,
pub track: &'a TrackId,
pub source: &'a SourceId,
pub draws: bool,
pub visual: EvaluatedVisual,
pub corners: Corners,
pub picture: Option<Corners>,
pub adjustment: bool,
pub matte: bool,
}Expand description
One clip a frame places, as the compositor places it.
Fields§
§clip: &'a ClipIdThe clip.
track: &'a TrackIdThe track holding the clip.
source: &'a SourceIdThe clip’s source.
draws: boolWhether the frame draws the clip (alpha2_eval::FrameDesc::draws) above zero opacity.
visual: EvaluatedVisualThe clip’s transform and opacity at the frame’s time.
corners: CornersWhere the corners of the clip’s canvas-shaped layer land on the canvas.
picture: Option<Corners>Where the source’s picture, contain-fitted into the layer, lands; None unless the clip
shows a media source whose fingerprint records its displayed size.
adjustment: boolWhether the clip is an adjustment clip, which has no picture of its own.
matte: boolWhether the clip is another clip’s matte, drawn only into that matte.
Trait Implementations§
Source§impl<'a> Clone for EvaluatedLayer<'a>
impl<'a> Clone for EvaluatedLayer<'a>
Source§impl<'a> Debug for EvaluatedLayer<'a>
impl<'a> Debug for EvaluatedLayer<'a>
Source§impl<'a> PartialEq for EvaluatedLayer<'a>
impl<'a> PartialEq for EvaluatedLayer<'a>
impl<'a> StructuralPartialEq for EvaluatedLayer<'a>
Auto Trait Implementations§
impl<'a> Forget for EvaluatedLayer<'a>
impl<'a> Freeze for EvaluatedLayer<'a>
impl<'a> Move for EvaluatedLayer<'a>
impl<'a> RefUnwindSafe for EvaluatedLayer<'a>
impl<'a> Send for EvaluatedLayer<'a>
impl<'a> Sync for EvaluatedLayer<'a>where
RawVecInner: Sync,
impl<'a> Unpin for EvaluatedLayer<'a>
impl<'a> UnsafeUnpin for EvaluatedLayer<'a>
impl<'a> UnwindSafe for EvaluatedLayer<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more