Enum smithay_client_toolkit::window::Decorations [−][src]
pub enum Decorations { ServerSide, ClientSide, FollowServer, None, }
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
Request server-side decorations
Force using the client-side Frame
Follow the preference of the compositor
Don’t decorate the Window
Trait Implementations
impl Debug for Decorations
[src]
impl Eq for Decorations
[src]
impl PartialEq<Decorations> for Decorations
[src]
fn eq(&self, other: &Decorations) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for Decorations
[src]
impl StructuralPartialEq for Decorations
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,