Enum smithay_client_toolkit::window::Decorations
source · [−]pub enum Decorations {
ServerSide,
ClientSide,
FollowServer,
None,
}
Expand description
Possible decoration modes for a Window
This represents what your application requests from the server.
In any case, the compositor may override your requests. In that case SCTK will follow its decision.
If you don’t care about it, you should use FollowServer
(which is the
SCTK default). It’d be the most ergonomic for your users.
Variants
ServerSide
Request server-side decorations
ClientSide
Force using the client-side Frame
FollowServer
Follow the preference of the compositor
None
Don’t decorate the Window
Trait Implementations
sourceimpl Debug for Decorations
impl Debug for Decorations
sourceimpl PartialEq<Decorations> for Decorations
impl PartialEq<Decorations> for Decorations
impl Eq for Decorations
impl StructuralEq for Decorations
impl StructuralPartialEq for Decorations
Auto Trait Implementations
impl RefUnwindSafe for Decorations
impl Send for Decorations
impl Sync for Decorations
impl Unpin for Decorations
impl UnwindSafe for Decorations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more