Struct kernel::schemes::display::DisplayResource [] [src]

pub struct DisplayResource {
    pub display: Box<Display>,
    pub seek: usize,
}

A display resource

Fields

display

The display

seek

Seek

Trait Implementations

impl Resource for DisplayResource

fn url(&self) -> URL

fn write(&mut self, buf: &[u8]) -> Option<usize>

fn seek(&mut self, pos: ResourceSeek) -> Option<usize>

fn sync(&mut self) -> bool

fn dup(&self) -> Option<Box<Resource>>

fn read(&mut self, buf: &mut [u8]) -> Option<usize>

fn truncate(&mut self, len: usize) -> bool

fn read_to_end(&mut self, vec: &mut Vec<u8>) -> Option<usize>