pub struct Workspace {
pub id: WorkspaceId,
pub name: String,
pub path: String,
pub accent: usize,
pub expanded: bool,
pub home: bool,
pub unloaded: bool,
pub harnesses: Vec<Harness>,
}Expand description
A workspace is a named view over a folder. Two workspaces may point at the same folder, and a workspace may point at a subfolder of another project.
Fields§
§id: WorkspaceId§name: String§path: String§accent: usizeIndex into the active theme’s accent palette.
expanded: bool§home: boolThe pinned general-purpose workspace (not tied to a project folder).
unloaded: boolPut away: shown in the Unloaded section, its tiles detached (the tmux sessions keep running).
harnesses: Vec<Harness>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
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
Auto Trait Implementations§
impl Forget for Workspace
impl Freeze for Workspace
impl Move for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnsafeUnpin for Workspace
impl UnwindSafe for Workspace
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