pub struct Output {
pub id: u32,
pub name: String,
pub tracked_box: Box,
}Expand description
Describes an RandR output.
Filling this structure relies on the XRandR extension. This feature cannot be used if the extension is missing or its version is below the requirements.
Fields§
§id: u32Identifier of the RandR output.
name: StringName of the RandR output, as reported by tools such as xrandr(1).
Example: “DVI-I-0”
tracked_box: BoxRegion of the X screen tracked by the RandR CRTC driving this RandR output.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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