#[repr(C)]pub struct winsome_update_t__bindgen_ty_1__bindgen_ty_5 {
pub data: *mut uint32,
pub left: c_int,
pub right: c_int,
pub top: c_int,
pub bottom: c_int,
pub width: c_int,
pub height: c_int,
pub text_mode: bool,
}
Expand description
Data for a message containing graphics console updates. This corresponds to calls to set_contents in gfx_console_frontend, accumulated in the obvious way: take the bounding box of the updated rectangles.
Fields§
§data: *mut uint32
New pixels for the dirty rectangle (owned).
left: c_int
Dirty rectangle
right: c_int
§top: c_int
§bottom: c_int
§width: c_int
Current/new screen size
height: c_int
§text_mode: bool
Are we currently in VGA text mode?
Trait Implementations§
source§impl Clone for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl Clone for winsome_update_t__bindgen_ty_1__bindgen_ty_5
source§fn clone(&self) -> winsome_update_t__bindgen_ty_1__bindgen_ty_5
fn clone(&self) -> winsome_update_t__bindgen_ty_1__bindgen_ty_5
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 Ord for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl Ord for winsome_update_t__bindgen_ty_1__bindgen_ty_5
source§fn cmp(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_5) -> Ordering
fn cmp(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_5) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl PartialEq for winsome_update_t__bindgen_ty_1__bindgen_ty_5
source§fn eq(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_5) -> bool
fn eq(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_5) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl PartialOrd for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl Copy for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl Eq for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl StructuralPartialEq for winsome_update_t__bindgen_ty_1__bindgen_ty_5
Auto Trait Implementations§
impl Freeze for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl RefUnwindSafe for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl !Send for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl !Sync for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl Unpin for winsome_update_t__bindgen_ty_1__bindgen_ty_5
impl UnwindSafe for winsome_update_t__bindgen_ty_1__bindgen_ty_5
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
)