[][src]Struct vga::fonts::VgaFont

pub struct VgaFont {
    pub characters: u16,
    pub character_height: u16,
    pub font_data: &'static [u8],
}

Represents a font to be used for text mode.

Fields

characters: u16

Represents the number of characters contained in the font.

character_height: u16

Represents the height of the characters in bytes.

font_data: &'static [u8]

Represents the font data to be loaded in.

Auto Trait Implementations

impl Send for VgaFont

impl Sync for VgaFont

impl Unpin for VgaFont

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.