pub struct Picture {Show 19 fields
pub width: u32,
pub height: u32,
pub chroma_width: u32,
pub chroma_height: u32,
pub bit_depth: u32,
pub subsampling_x: bool,
pub subsampling_y: bool,
pub y: Plane,
pub u: Plane,
pub v: Plane,
pub y_stride: usize,
pub uv_stride: usize,
pub pts: i64,
pub key: bool,
pub intra_only: bool,
pub color: ColorInfo,
pub render_width: u32,
pub render_height: u32,
pub draft: bool,
}Fields§
§width: u32§height: u32§chroma_width: u32§chroma_height: u32§bit_depth: u32§subsampling_x: bool§subsampling_y: bool§y: Plane§u: Plane§v: Plane§y_stride: usize§uv_stride: usize§pts: i64§key: bool§intra_only: bool§color: ColorInfo§render_width: u32§render_height: u32§draft: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Picture
impl RefUnwindSafe for Picture
impl Send for Picture
impl Sync for Picture
impl Unpin for Picture
impl UnsafeUnpin for Picture
impl UnwindSafe for Picture
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
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