Struct gdk_x11_sys::xlib::XImage
[−]#[repr(C)]pub struct XImage {Show 17 fields
pub width: i32,
pub height: i32,
pub xoffset: i32,
pub format: i32,
pub data: *mut i8,
pub byte_order: i32,
pub bitmap_unit: i32,
pub bitmap_bit_order: i32,
pub bitmap_pad: i32,
pub depth: i32,
pub bytes_per_line: i32,
pub bits_per_pixel: i32,
pub red_mask: u64,
pub green_mask: u64,
pub blue_mask: u64,
pub obdata: *mut i8,
pub funcs: ImageFns,
}
Fields
width: i32
height: i32
xoffset: i32
format: i32
data: *mut i8
byte_order: i32
bitmap_unit: i32
bitmap_bit_order: i32
bitmap_pad: i32
depth: i32
bytes_per_line: i32
bits_per_pixel: i32
red_mask: u64
green_mask: u64
blue_mask: u64
obdata: *mut i8
funcs: ImageFns
Trait Implementations
impl Copy for XImage
impl StructuralPartialEq for XImage
Auto Trait Implementations
impl RefUnwindSafe for XImage
impl !Send for XImage
impl !Sync for XImage
impl Unpin for XImage
impl UnwindSafe for XImage
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