pub struct Output {
pub position: Point,
pub size: Size,
pub name: String,
pub is_primary: bool,
pub num_workspaces: u32,
/* private fields */
}Expand description
Represents a physical or logical display.
Each output hosts one or more crate::workspace::Workspaces. Use Output::workspaces
to get all workspaces on this output, or Output::workspace to retrieve one by index.
Fields§
§position: PointThe position of the output.
size: SizeThe size of the output.
name: StringThe name of the output.
is_primary: boolWhether this is the primary output.
num_workspaces: u32The number of workspaces on this output.
Implementations§
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