#[non_exhaustive]pub enum FallbackOutputMode {
Cursor,
Focus,
}Expand description
Defines which output is used when no particular output is specified.
This configures where to place a newly opened window or workspace, what window to focus when a
window is closed, which workspace is moved with Seat::move_to_output, and similar actions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FallbackOutputMode
impl Clone for FallbackOutputMode
Source§fn clone(&self) -> FallbackOutputMode
fn clone(&self) -> FallbackOutputMode
Returns a duplicate 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 FallbackOutputMode
impl Debug for FallbackOutputMode
Source§impl<'de> Deserialize<'de> for FallbackOutputMode
impl<'de> Deserialize<'de> for FallbackOutputMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FallbackOutputMode
impl Hash for FallbackOutputMode
Source§impl PartialEq for FallbackOutputMode
impl PartialEq for FallbackOutputMode
Source§impl Serialize for FallbackOutputMode
impl Serialize for FallbackOutputMode
impl Copy for FallbackOutputMode
impl Eq for FallbackOutputMode
impl StructuralPartialEq for FallbackOutputMode
Auto Trait Implementations§
impl Freeze for FallbackOutputMode
impl RefUnwindSafe for FallbackOutputMode
impl Send for FallbackOutputMode
impl Sync for FallbackOutputMode
impl Unpin for FallbackOutputMode
impl UnsafeUnpin for FallbackOutputMode
impl UnwindSafe for FallbackOutputMode
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