pub struct Workspaces(/* private fields */);
Implementations§
Source§impl Workspaces
impl Workspaces
pub fn get(connection: &mut Connection) -> Result<Self, Error>
pub fn ordered( self, connection: &mut Connection, ) -> Result<OrderedWorkspaces, Error>
pub fn reorder(&self, connection: &mut Connection) -> Result<(), Error>
pub fn current_workspace(&self) -> (usize, &Workspace)
Auto Trait Implementations§
impl Freeze for Workspaces
impl RefUnwindSafe for Workspaces
impl Send for Workspaces
impl Sync for Workspaces
impl Unpin for Workspaces
impl UnwindSafe for Workspaces
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