#[repr(C)]pub struct winsome_update_t__bindgen_ty_1__bindgen_ty_3 {
pub text: *mut c_char,
pub attrib: *mut text_console_attrib_t,
pub sb_text: *mut c_char,
pub sb_attrib: *mut text_console_attrib_t,
pub width: c_int,
pub height: c_int,
pub sb_size: c_int,
pub cursor_x: c_int,
pub cursor_y: c_int,
}
Expand description
Data for a message containing text console screen refresh. This corresponds to calls to refresh_screen in text_console_frontend.
Fields§
§text: *mut c_char
Heap-allocated contents of visible screen rectangle. Each array has width * height elements.
attrib: *mut text_console_attrib_t
§sb_text: *mut c_char
Heap-allocated contents of scrollback. Each array has width * sb_size elements.
sb_attrib: *mut text_console_attrib_t
§width: c_int
Screen size.
height: c_int
§sb_size: c_int
Number of scrollback lines.
cursor_x: c_int
New cursor position.
cursor_y: c_int
Trait Implementations§
source§impl Clone for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl Clone for winsome_update_t__bindgen_ty_1__bindgen_ty_3
source§fn clone(&self) -> winsome_update_t__bindgen_ty_1__bindgen_ty_3
fn clone(&self) -> winsome_update_t__bindgen_ty_1__bindgen_ty_3
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_3
impl Ord for winsome_update_t__bindgen_ty_1__bindgen_ty_3
source§fn cmp(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_3) -> Ordering
fn cmp(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_3) -> 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_3
impl PartialEq for winsome_update_t__bindgen_ty_1__bindgen_ty_3
source§fn eq(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_3) -> bool
fn eq(&self, other: &winsome_update_t__bindgen_ty_1__bindgen_ty_3) -> 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_3
impl PartialOrd for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl Copy for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl Eq for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl StructuralPartialEq for winsome_update_t__bindgen_ty_1__bindgen_ty_3
Auto Trait Implementations§
impl Freeze for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl RefUnwindSafe for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl !Send for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl !Sync for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl Unpin for winsome_update_t__bindgen_ty_1__bindgen_ty_3
impl UnwindSafe for winsome_update_t__bindgen_ty_1__bindgen_ty_3
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
)