#[repr(C)]pub struct video_scale_info {
pub format: video_format,
pub width: u32,
pub height: u32,
pub range: video_range_type,
pub colorspace: video_colorspace,
}
Fields§
§format: video_format
§width: u32
§height: u32
§range: video_range_type
§colorspace: video_colorspace
Trait Implementations§
Source§impl Clone for video_scale_info
impl Clone for video_scale_info
Source§fn clone(&self) -> video_scale_info
fn clone(&self) -> video_scale_info
Returns a copy 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 video_scale_info
impl Debug for video_scale_info
Source§impl Ord for video_scale_info
impl Ord for video_scale_info
Source§fn cmp(&self, other: &video_scale_info) -> Ordering
fn cmp(&self, other: &video_scale_info) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for video_scale_info
impl PartialEq for video_scale_info
Source§impl PartialOrd for video_scale_info
impl PartialOrd for video_scale_info
impl Copy for video_scale_info
impl Eq for video_scale_info
impl StructuralPartialEq for video_scale_info
Auto Trait Implementations§
impl Freeze for video_scale_info
impl RefUnwindSafe for video_scale_info
impl Send for video_scale_info
impl Sync for video_scale_info
impl Unpin for video_scale_info
impl UnwindSafe for video_scale_info
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