#[repr(C)]pub enum TitlebarButtonSide {
Left = 0,
Right = 1,
}Expand description
Which side of the titlebar the window control buttons are on.
Variants§
Left = 0
Buttons are on the left (macOS default)
Right = 1
Buttons are on the right (Windows, most Linux DEs)
Trait Implementations§
Source§impl Clone for TitlebarButtonSide
impl Clone for TitlebarButtonSide
Source§fn clone(&self) -> TitlebarButtonSide
fn clone(&self) -> TitlebarButtonSide
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 TitlebarButtonSide
impl Debug for TitlebarButtonSide
Source§impl Default for TitlebarButtonSide
impl Default for TitlebarButtonSide
Source§fn default() -> TitlebarButtonSide
fn default() -> TitlebarButtonSide
Returns the “default value” for a type. Read more
Source§impl Hash for TitlebarButtonSide
impl Hash for TitlebarButtonSide
Source§impl Ord for TitlebarButtonSide
impl Ord for TitlebarButtonSide
Source§fn cmp(&self, other: &TitlebarButtonSide) -> Ordering
fn cmp(&self, other: &TitlebarButtonSide) -> 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 TitlebarButtonSide
impl PartialEq for TitlebarButtonSide
Source§impl PartialOrd for TitlebarButtonSide
impl PartialOrd for TitlebarButtonSide
impl Copy for TitlebarButtonSide
impl Eq for TitlebarButtonSide
impl StructuralPartialEq for TitlebarButtonSide
Auto Trait Implementations§
impl Freeze for TitlebarButtonSide
impl RefUnwindSafe for TitlebarButtonSide
impl Send for TitlebarButtonSide
impl Sync for TitlebarButtonSide
impl Unpin for TitlebarButtonSide
impl UnsafeUnpin for TitlebarButtonSide
impl UnwindSafe for TitlebarButtonSide
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