pub enum WorkspaceDisplayOrder {
Manual,
Sorted,
}Expand description
How workspaces should be ordered in the UI.
Variants§
Manual
Workspaces are not sorted and can be manually dragged.
Sorted
Workspaces are sorted alphabetically and cannot be manually dragged.
Trait Implementations§
Source§impl Clone for WorkspaceDisplayOrder
impl Clone for WorkspaceDisplayOrder
Source§fn clone(&self) -> WorkspaceDisplayOrder
fn clone(&self) -> WorkspaceDisplayOrder
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 WorkspaceDisplayOrder
impl Debug for WorkspaceDisplayOrder
Source§impl<'de> Deserialize<'de> for WorkspaceDisplayOrder
impl<'de> Deserialize<'de> for WorkspaceDisplayOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for WorkspaceDisplayOrder
impl Hash for WorkspaceDisplayOrder
Source§impl PartialEq for WorkspaceDisplayOrder
impl PartialEq for WorkspaceDisplayOrder
Source§impl Serialize for WorkspaceDisplayOrder
impl Serialize for WorkspaceDisplayOrder
impl Copy for WorkspaceDisplayOrder
impl Eq for WorkspaceDisplayOrder
impl StructuralPartialEq for WorkspaceDisplayOrder
Auto Trait Implementations§
impl Freeze for WorkspaceDisplayOrder
impl RefUnwindSafe for WorkspaceDisplayOrder
impl Send for WorkspaceDisplayOrder
impl Sync for WorkspaceDisplayOrder
impl Unpin for WorkspaceDisplayOrder
impl UnsafeUnpin for WorkspaceDisplayOrder
impl UnwindSafe for WorkspaceDisplayOrder
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