Struct gdk_x11_sys::xlib::ScreenFormat
[−]#[repr(C)]pub struct ScreenFormat {
pub ext_data: *mut XExtData,
pub depth: i32,
pub bits_per_pixel: i32,
pub scanline_pad: i32,
}
Fields
ext_data: *mut XExtData
depth: i32
bits_per_pixel: i32
scanline_pad: i32
Trait Implementations
impl Clone for ScreenFormat
impl Clone for ScreenFormat
fn clone(&self) -> ScreenFormat
fn clone(&self) -> ScreenFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ScreenFormat
impl Debug for ScreenFormat
impl PartialEq<ScreenFormat> for ScreenFormat
impl PartialEq<ScreenFormat> for ScreenFormat
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 ==
. Read more
fn ne(&self, other: &ScreenFormat) -> bool
fn ne(&self, other: &ScreenFormat) -> bool
This method tests for !=
.
impl Copy for ScreenFormat
impl StructuralPartialEq for ScreenFormat
Auto Trait Implementations
impl RefUnwindSafe for ScreenFormat
impl !Send for ScreenFormat
impl !Sync for ScreenFormat
impl Unpin for ScreenFormat
impl UnwindSafe for ScreenFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more