pub enum WindowTabbing {
Automatic,
Group(String),
Preferred(String),
Disallowed,
}Expand description
Whether and how a window joins macOS window tabs (WindowOptions::tabbing,
Cap::WindowTabbing). Other platforms have no system window tabs and ignore it.
Variants§
Automatic
The platform default for the window’s kind: an ordinary window tabs with the app’s other ordinary windows when the user’s “Prefer tabs” setting says so; preferences never tab.
Group(String)
Tab only with windows of the same group, following the user’s setting. The tab bar’s
“+” opens the builder registered for this group (register_new_window_for).
Preferred(String)
Always open as a tab of an existing window of the same group, whatever the setting.
Disallowed
Never become a tab.
Trait Implementations§
Source§impl Clone for WindowTabbing
impl Clone for WindowTabbing
Source§fn clone(&self) -> WindowTabbing
fn clone(&self) -> WindowTabbing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowTabbing
impl Debug for WindowTabbing
Source§impl Default for WindowTabbing
impl Default for WindowTabbing
Source§fn default() -> WindowTabbing
fn default() -> WindowTabbing
Returns the “default value” for a type. Read more
impl Eq for WindowTabbing
Source§impl Hash for WindowTabbing
impl Hash for WindowTabbing
Source§impl PartialEq for WindowTabbing
impl PartialEq for WindowTabbing
impl StructuralPartialEq for WindowTabbing
Auto Trait Implementations§
impl Freeze for WindowTabbing
impl RefUnwindSafe for WindowTabbing
impl Send for WindowTabbing
impl Sync for WindowTabbing
impl Unpin for WindowTabbing
impl UnsafeUnpin for WindowTabbing
impl UnwindSafe for WindowTabbing
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