Struct xcb::randr::MonitorInfo
source · pub struct MonitorInfo { /* private fields */ }
Implementations§
source§impl MonitorInfo
impl MonitorInfo
pub fn name(&self) -> Atom
pub fn primary(&self) -> bool
pub fn automatic(&self) -> bool
pub fn x(&self) -> i16
pub fn y(&self) -> i16
pub fn width(&self) -> u16
pub fn height(&self) -> u16
pub fn width_in_millimeters(&self) -> u32
pub fn height_in_millimeters(&self) -> u32
pub fn outputs(&self) -> &[Output]
Trait Implementations§
source§impl Borrow<MonitorInfo> for MonitorInfoBuf
impl Borrow<MonitorInfo> for MonitorInfoBuf
source§fn borrow(&self) -> &MonitorInfo
fn borrow(&self) -> &MonitorInfo
Immutably borrows from an owned value. Read more
source§impl Debug for MonitorInfo
impl Debug for MonitorInfo
source§impl ToOwned for MonitorInfo
impl ToOwned for MonitorInfo
source§type Owned = MonitorInfoBuf
type Owned = MonitorInfoBuf
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more