Struct x11::xlib::ScreenFormat
source · #[repr(C)]pub struct ScreenFormat {
pub ext_data: *mut XExtData,
pub depth: c_int,
pub bits_per_pixel: c_int,
pub scanline_pad: c_int,
}
Fields§
§ext_data: *mut XExtData
§depth: c_int
§bits_per_pixel: c_int
§scanline_pad: c_int
Trait Implementations§
source§impl Clone for ScreenFormat
impl Clone for ScreenFormat
source§fn clone(&self) -> ScreenFormat
fn clone(&self) -> ScreenFormat
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 ScreenFormat
impl Debug for ScreenFormat
source§impl PartialEq<ScreenFormat> for ScreenFormat
impl PartialEq<ScreenFormat> for ScreenFormat
source§fn eq(&self, other: &ScreenFormat) -> bool
fn eq(&self, other: &ScreenFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.