pub struct FrameFacts {
pub pts: MediaTime,
pub visible_rect: Rect,
pub orientation: Orientation,
pub sample_aspect_ratio: SampleAspectRatio,
pub chroma_location: ChromaLocation,
pub color: Option<ColorMetadata>,
}Expand description
The facts every frame carries besides its pixels.
Fields§
§pts: MediaTimePresentation time.
visible_rect: RectThe visible area in buffer pixels.
orientation: OrientationHow the picture is shown.
sample_aspect_ratio: SampleAspectRatioPixel aspect ratio.
chroma_location: ChromaLocationChroma siting.
color: Option<ColorMetadata>Color, when declared or tagged.
Trait Implementations§
Source§impl Clone for FrameFacts
impl Clone for FrameFacts
impl Copy for FrameFacts
Source§impl Debug for FrameFacts
impl Debug for FrameFacts
Source§impl PartialEq for FrameFacts
impl PartialEq for FrameFacts
impl StructuralPartialEq for FrameFacts
Auto Trait Implementations§
impl Forget for FrameFacts
impl Freeze for FrameFacts
impl Move for FrameFacts
impl RefUnwindSafe for FrameFacts
impl Send for FrameFacts
impl Sync for FrameFacts
impl Unpin for FrameFacts
impl UnsafeUnpin for FrameFacts
impl UnwindSafe for FrameFacts
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