Struct xcb::randr::MonitorInfoBuf
source · pub struct MonitorInfoBuf { /* private fields */ }
Implementations§
Methods from Deref<Target = 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 Clone for MonitorInfoBuf
impl Clone for MonitorInfoBuf
source§fn clone(&self) -> MonitorInfoBuf
fn clone(&self) -> MonitorInfoBuf
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 MonitorInfoBuf
impl Debug for MonitorInfoBuf
Auto Trait Implementations§
impl Freeze for MonitorInfoBuf
impl RefUnwindSafe for MonitorInfoBuf
impl Send for MonitorInfoBuf
impl Sync for MonitorInfoBuf
impl Unpin for MonitorInfoBuf
impl UnwindSafe for MonitorInfoBuf
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)