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

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.