Struct simics_api_sys::bindings::text_console_attrib_t
source · #[repr(C, packed(1))]pub struct text_console_attrib_t {
pub attrib: uint8,
pub fg: uint16,
pub bg: uint16,
}
Fields§
§attrib: uint8
Bitmask of text_console_text_attrib_t
fg: uint16
text_console_colour_t specifying fg colour
bg: uint16
text_console_colour_t specifying bg colour.
Trait Implementations§
source§impl Clone for text_console_attrib_t
impl Clone for text_console_attrib_t
source§fn clone(&self) -> text_console_attrib_t
fn clone(&self) -> text_console_attrib_t
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 text_console_attrib_t
impl Debug for text_console_attrib_t
source§impl Default for text_console_attrib_t
impl Default for text_console_attrib_t
source§fn default() -> text_console_attrib_t
fn default() -> text_console_attrib_t
Returns the “default value” for a type. Read more
source§impl Hash for text_console_attrib_t
impl Hash for text_console_attrib_t
source§impl Ord for text_console_attrib_t
impl Ord for text_console_attrib_t
source§fn cmp(&self, other: &text_console_attrib_t) -> Ordering
fn cmp(&self, other: &text_console_attrib_t) -> 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 text_console_attrib_t
impl PartialEq for text_console_attrib_t
source§impl PartialOrd for text_console_attrib_t
impl PartialOrd for text_console_attrib_t
impl Copy for text_console_attrib_t
impl Eq for text_console_attrib_t
impl StructuralPartialEq for text_console_attrib_t
Auto Trait Implementations§
impl Freeze for text_console_attrib_t
impl RefUnwindSafe for text_console_attrib_t
impl Send for text_console_attrib_t
impl Sync for text_console_attrib_t
impl Unpin for text_console_attrib_t
impl UnwindSafe for text_console_attrib_t
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
)