Struct virtio_drivers::device::console::ConsoleInfo
source · Expand description
Information about a console device, read from its configuration space.
Fields§
§rows: u16The console height in characters.
columns: u16The console width in characters.
max_ports: u32The maxumum number of ports supported by the console device.
Trait Implementations§
source§impl Clone for ConsoleInfo
impl Clone for ConsoleInfo
source§fn clone(&self) -> ConsoleInfo
fn clone(&self) -> ConsoleInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ConsoleInfo
impl Debug for ConsoleInfo
source§impl PartialEq<ConsoleInfo> for ConsoleInfo
impl PartialEq<ConsoleInfo> for ConsoleInfo
source§fn eq(&self, other: &ConsoleInfo) -> bool
fn eq(&self, other: &ConsoleInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.