[][src]Struct vga::registers::CrtcControllerRegisters

pub struct CrtcControllerRegisters { /* fields omitted */ }

Represents the crtc controller registers on vga hardware.

Methods

impl CrtcControllerRegisters[src]

pub fn read(
    &mut self,
    emulation_mode: EmulationMode,
    index: CrtcControllerIndex
) -> u8
[src]

Reads the current value from the crtc controller, as specified by emulation_mode and index.

pub fn write(
    &mut self,
    emulation_mode: EmulationMode,
    index: CrtcControllerIndex,
    value: u8
)
[src]

Writes the value to the crtc_controller, as specified by emulation_mode and index.

Trait Implementations

impl Debug for CrtcControllerRegisters[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.