pub enum WindowControlsStyle {
AppleTrafficLights,
WindowsCaptionButtons,
NativeHost,
}Expand description
Window caption controls presentation style (Strategy 2: Token-Driven / Configurable Presentation).
Variants§
AppleTrafficLights
Authentic Apple macOS traffic lights on the leading (left) edge.
WindowsCaptionButtons
Authentic Microsoft Windows 11 caption buttons on the trailing (right) edge.
NativeHost
Native host OS window manager decorations (decorations provided by OS).
Trait Implementations§
Source§impl Clone for WindowControlsStyle
impl Clone for WindowControlsStyle
impl Copy for WindowControlsStyle
Source§impl Debug for WindowControlsStyle
impl Debug for WindowControlsStyle
Source§impl Default for WindowControlsStyle
impl Default for WindowControlsStyle
impl Eq for WindowControlsStyle
Source§impl PartialEq for WindowControlsStyle
impl PartialEq for WindowControlsStyle
impl StructuralPartialEq for WindowControlsStyle
Auto Trait Implementations§
impl Forget for WindowControlsStyle
impl Freeze for WindowControlsStyle
impl RefUnwindSafe for WindowControlsStyle
impl Send for WindowControlsStyle
impl Sync for WindowControlsStyle
impl Unpin for WindowControlsStyle
impl UnsafeUnpin for WindowControlsStyle
impl UnwindSafe for WindowControlsStyle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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