pub struct VideoFrameDescription {Show 15 fields
pub format: PixelFormat,
pub color_range: ColorRange,
pub color_matrix: ColorMatrix,
pub color_primaries: ColorPrimaries,
pub color_transfer_characteristics: ColorTransferCharacteristics,
pub width: NonZeroU32,
pub height: NonZeroU32,
pub rotation: Rotation,
pub origin: Origin,
pub transparent: bool,
pub extra_alpha: bool,
pub crop_left: u32,
pub crop_top: u32,
pub crop_right: u32,
pub crop_bottom: u32,
}Fields§
§format: PixelFormat§color_range: ColorRange§color_matrix: ColorMatrix§color_primaries: ColorPrimaries§color_transfer_characteristics: ColorTransferCharacteristics§width: NonZeroU32§height: NonZeroU32§rotation: Rotation§origin: Origin§transparent: bool§extra_alpha: bool§crop_left: u32§crop_top: u32§crop_right: u32§crop_bottom: u32Implementations§
Source§impl VideoFrameDescription
impl VideoFrameDescription
pub fn new(format: PixelFormat, width: NonZeroU32, height: NonZeroU32) -> Self
Trait Implementations§
Source§impl Clone for VideoFrameDescription
impl Clone for VideoFrameDescription
Source§fn clone(&self) -> VideoFrameDescription
fn clone(&self) -> VideoFrameDescription
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoFrameDescription
impl Debug for VideoFrameDescription
Source§impl PartialEq for VideoFrameDescription
impl PartialEq for VideoFrameDescription
impl StructuralPartialEq for VideoFrameDescription
Auto Trait Implementations§
impl Freeze for VideoFrameDescription
impl RefUnwindSafe for VideoFrameDescription
impl Send for VideoFrameDescription
impl Sync for VideoFrameDescription
impl Unpin for VideoFrameDescription
impl UnwindSafe for VideoFrameDescription
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