Struct x11rb_protocol::protocol::xv::ImageFormatInfo
source · pub struct ImageFormatInfo {Show 22 fields
pub id: u32,
pub type_: ImageFormatInfoType,
pub byte_order: ImageOrder,
pub guid: [u8; 16],
pub bpp: u8,
pub num_planes: u8,
pub depth: u8,
pub red_mask: u32,
pub green_mask: u32,
pub blue_mask: u32,
pub format: ImageFormatInfoFormat,
pub y_sample_bits: u32,
pub u_sample_bits: u32,
pub v_sample_bits: u32,
pub vhorz_y_period: u32,
pub vhorz_u_period: u32,
pub vhorz_v_period: u32,
pub vvert_y_period: u32,
pub vvert_u_period: u32,
pub vvert_v_period: u32,
pub vcomp_order: [u8; 32],
pub vscanline_order: ScanlineOrder,
}
Fields§
§id: u32
§type_: ImageFormatInfoType
§byte_order: ImageOrder
§guid: [u8; 16]
§bpp: u8
§num_planes: u8
§depth: u8
§red_mask: u32
§green_mask: u32
§blue_mask: u32
§format: ImageFormatInfoFormat
§y_sample_bits: u32
§u_sample_bits: u32
§v_sample_bits: u32
§vhorz_y_period: u32
§vhorz_u_period: u32
§vhorz_v_period: u32
§vvert_y_period: u32
§vvert_u_period: u32
§vvert_v_period: u32
§vcomp_order: [u8; 32]
§vscanline_order: ScanlineOrder
Trait Implementations§
source§impl Clone for ImageFormatInfo
impl Clone for ImageFormatInfo
source§fn clone(&self) -> ImageFormatInfo
fn clone(&self) -> ImageFormatInfo
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 ImageFormatInfo
impl Debug for ImageFormatInfo
source§impl Default for ImageFormatInfo
impl Default for ImageFormatInfo
source§fn default() -> ImageFormatInfo
fn default() -> ImageFormatInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImageFormatInfo
impl<'de> Deserialize<'de> for ImageFormatInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ImageFormatInfo
impl Hash for ImageFormatInfo
source§impl Ord for ImageFormatInfo
impl Ord for ImageFormatInfo
source§fn cmp(&self, other: &ImageFormatInfo) -> Ordering
fn cmp(&self, other: &ImageFormatInfo) -> 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 ImageFormatInfo
impl PartialEq for ImageFormatInfo
source§fn eq(&self, other: &ImageFormatInfo) -> bool
fn eq(&self, other: &ImageFormatInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageFormatInfo
impl PartialOrd for ImageFormatInfo
source§fn partial_cmp(&self, other: &ImageFormatInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageFormatInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ImageFormatInfo
impl Serialize for ImageFormatInfo
source§impl Serialize for ImageFormatInfo
impl Serialize for ImageFormatInfo
source§impl TryParse for ImageFormatInfo
impl TryParse for ImageFormatInfo
impl Copy for ImageFormatInfo
impl Eq for ImageFormatInfo
impl StructuralPartialEq for ImageFormatInfo
Auto Trait Implementations§
impl Freeze for ImageFormatInfo
impl RefUnwindSafe for ImageFormatInfo
impl Send for ImageFormatInfo
impl Sync for ImageFormatInfo
impl Unpin for ImageFormatInfo
impl UnwindSafe for ImageFormatInfo
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more