Struct xcb::xv::ImageFormatInfo [−][src]
pub struct ImageFormatInfo { /* fields omitted */ }
Implementations
pub fn new(
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
) -> ImageFormatInfo
pub fn new(
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
) -> ImageFormatInfo
Construct a new ImageFormatInfo.
Trait Implementations
Compute the length of serialized data of an instance starting by ptr
. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImageFormatInfo
impl Send for ImageFormatInfo
impl Sync for ImageFormatInfo
impl Unpin for ImageFormatInfo
impl UnwindSafe for ImageFormatInfo
Blanket Implementations
Mutably borrows from an owned value. Read more