[][src]Struct vga::writers::ScreenCharacter

#[repr(C)]pub struct ScreenCharacter { /* fields omitted */ }

Represents a ScreenCharacter in vga text modes.

Implementations

impl ScreenCharacter[src]

pub const fn new(character: u8, color: TextModeColor) -> ScreenCharacter[src]

Creates a new ScreenCharacter with the specified character and TextModeColor.

pub fn get_character(self) -> u8[src]

Returns the character associated with the ScreenCharacter.

pub fn get_color(self) -> TextModeColor[src]

Returns the color associated with the ScreenCharacter.

Trait Implementations

impl Clone for ScreenCharacter[src]

impl Copy for ScreenCharacter[src]

impl Debug for ScreenCharacter[src]

impl Eq for ScreenCharacter[src]

impl Hash for ScreenCharacter[src]

impl PartialEq<ScreenCharacter> for ScreenCharacter[src]

impl StructuralEq for ScreenCharacter[src]

impl StructuralPartialEq for ScreenCharacter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.