Struct winit::platform_impl::platform::wayland::output::OutputManagerHandle
source · pub struct OutputManagerHandle {
outputs: Arc<Mutex<VecDeque<MonitorHandle>>>,
}
Expand description
A handle to output manager.
Fields§
§outputs: Arc<Mutex<VecDeque<MonitorHandle>>>
Implementations§
source§impl OutputManagerHandle
impl OutputManagerHandle
fn new() -> Self
sourcefn add_output(&self, output: WlOutput)
fn add_output(&self, output: WlOutput)
Handle addition of the output.
sourcefn remove_output(&self, output: WlOutput)
fn remove_output(&self, output: WlOutput)
Handle removal of the output.
sourcepub fn available_outputs(&self) -> VecDeque<MonitorHandle>
pub fn available_outputs(&self) -> VecDeque<MonitorHandle>
Get all observed outputs.
Trait Implementations§
source§impl Clone for OutputManagerHandle
impl Clone for OutputManagerHandle
source§fn clone(&self) -> OutputManagerHandle
fn clone(&self) -> OutputManagerHandle
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 moreAuto Trait Implementations§
impl RefUnwindSafe for OutputManagerHandle
impl Send for OutputManagerHandle
impl Sync for OutputManagerHandle
impl Unpin for OutputManagerHandle
impl UnwindSafe for OutputManagerHandle
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