#[repr(C)]pub enum WindowBackgroundMaterial {
Opaque = 0,
Transparent = 1,
Sidebar = 2,
Menu = 3,
HUD = 4,
Titlebar = 5,
MicaAlt = 6,
}Expand description
Compositor blur/transparency effects for window background
Variants§
Opaque = 0
No transparency or blur
Transparent = 1
Transparent without blur
Sidebar = 2
macOS: Sidebar material, Windows: Acrylic light
Menu = 3
macOS: Menu material, Windows: Acrylic
HUD = 4
macOS: HUD material, Windows: Acrylic dark
Titlebar = 5
macOS: Titlebar material, Windows: Mica
MicaAlt = 6
Windows: Mica Alt material
Trait Implementations§
Source§impl Clone for WindowBackgroundMaterial
impl Clone for WindowBackgroundMaterial
Source§fn clone(&self) -> WindowBackgroundMaterial
fn clone(&self) -> WindowBackgroundMaterial
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 WindowBackgroundMaterial
impl Debug for WindowBackgroundMaterial
Source§impl Default for WindowBackgroundMaterial
impl Default for WindowBackgroundMaterial
Source§impl Hash for WindowBackgroundMaterial
impl Hash for WindowBackgroundMaterial
Source§impl Ord for WindowBackgroundMaterial
impl Ord for WindowBackgroundMaterial
Source§fn cmp(&self, other: &WindowBackgroundMaterial) -> Ordering
fn cmp(&self, other: &WindowBackgroundMaterial) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindowBackgroundMaterial
impl PartialEq for WindowBackgroundMaterial
Source§impl PartialOrd for WindowBackgroundMaterial
impl PartialOrd for WindowBackgroundMaterial
impl Copy for WindowBackgroundMaterial
impl Eq for WindowBackgroundMaterial
impl StructuralPartialEq for WindowBackgroundMaterial
Auto Trait Implementations§
impl Freeze for WindowBackgroundMaterial
impl RefUnwindSafe for WindowBackgroundMaterial
impl Send for WindowBackgroundMaterial
impl Sync for WindowBackgroundMaterial
impl Unpin for WindowBackgroundMaterial
impl UnwindSafe for WindowBackgroundMaterial
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more