Struct vga::registers::SequencerRegisters[][src]

pub struct SequencerRegisters { /* fields omitted */ }

Represents the sequencer registers on vga hardware.

Implementations

impl SequencerRegisters[src]

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

Reads the current value from the sequencer, as specified by index.

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

Writes the value to the sequencer, as specified by index.

pub fn set_plane_mask(&mut self, plane_mask: PlaneMask)[src]

Sets the plane mask of the sequencer controller, as specified by plane_mask.

Trait Implementations

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