#[repr(u8)]pub enum Backdrop {
Standard = 0,
Translucent = 1,
Solid = 2,
}Expand description
What a window is drawn on, in each platform’s own materials.
Variants§
Standard = 0
The platform’s usual window: Mica in the frame on Windows 11, a plain window on macOS.
Translucent = 1
See-through: Acrylic in the frame on Windows 11, and a translucent window that shows what’s behind it on macOS.
Solid = 2
Opaque everywhere, with no material.
Implementations§
Trait Implementations§
impl Copy for Backdrop
impl Eq for Backdrop
impl StructuralPartialEq for Backdrop
Auto Trait Implementations§
impl Freeze for Backdrop
impl RefUnwindSafe for Backdrop
impl Send for Backdrop
impl Sync for Backdrop
impl Unpin for Backdrop
impl UnsafeUnpin for Backdrop
impl UnwindSafe for Backdrop
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