pub enum DecorationMode {
ClientSide,
ServerSide,
}Expand description
Detect if the current system prefers CSDs or SSDs By default, prefer server side decorations
Variants§
ClientSide
Render the window decorations on the compositor
ServerSide
Render the window decorations in the window surface
Trait Implementations§
Source§impl Clone for DecorationMode
impl Clone for DecorationMode
Source§fn clone(&self) -> DecorationMode
fn clone(&self) -> DecorationMode
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 DecorationMode
impl Debug for DecorationMode
Source§impl PartialEq for DecorationMode
impl PartialEq for DecorationMode
impl StructuralPartialEq for DecorationMode
Auto Trait Implementations§
impl Freeze for DecorationMode
impl RefUnwindSafe for DecorationMode
impl Send for DecorationMode
impl Sync for DecorationMode
impl Unpin for DecorationMode
impl UnwindSafe for DecorationMode
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