Enum gpui2::WindowAppearance
source · pub enum WindowAppearance {
Light,
VibrantLight,
Dark,
VibrantDark,
}
Variants§
Implementations§
source§impl WindowAppearance
impl WindowAppearance
pub unsafe fn from_native(appearance: id) -> Self
Trait Implementations§
source§impl Clone for WindowAppearance
impl Clone for WindowAppearance
source§fn clone(&self) -> WindowAppearance
fn clone(&self) -> WindowAppearance
Returns a copy 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 WindowAppearance
impl Debug for WindowAppearance
source§impl Default for WindowAppearance
impl Default for WindowAppearance
impl Copy for WindowAppearance
Auto Trait Implementations§
impl RefUnwindSafe for WindowAppearance
impl Send for WindowAppearance
impl Sync for WindowAppearance
impl Unpin for WindowAppearance
impl UnwindSafe for WindowAppearance
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