Struct xcb::xv::ImageFormatInfo
source · pub struct ImageFormatInfo { /* private fields */ }
Implementations§
source§impl ImageFormatInfo
impl ImageFormatInfo
sourcepub 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.
pub fn id(&self) -> u32
pub fn type(&self) -> ImageFormatInfoType
pub fn byte_order(&self) -> ImageOrder
pub fn guid(&self) -> &[u8; 16]
pub fn bpp(&self) -> u8
pub fn num_planes(&self) -> u8
pub fn depth(&self) -> u8
pub fn red_mask(&self) -> u32
pub fn green_mask(&self) -> u32
pub fn blue_mask(&self) -> u32
pub fn format(&self) -> ImageFormatInfoFormat
pub fn y_sample_bits(&self) -> u32
pub fn u_sample_bits(&self) -> u32
pub fn v_sample_bits(&self) -> u32
pub fn vhorz_y_period(&self) -> u32
pub fn vhorz_u_period(&self) -> u32
pub fn vhorz_v_period(&self) -> u32
pub fn vvert_y_period(&self) -> u32
pub fn vvert_u_period(&self) -> u32
pub fn vvert_v_period(&self) -> u32
pub fn vcomp_order(&self) -> &[u8; 32]
pub fn vscanline_order(&self) -> 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
impl Copy 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)