pub struct Workspaces(/* private fields */);Expand description
This type provides a vector of workspaces
Implementations§
Trait Implementations§
Source§impl Clone for Workspaces
impl Clone for Workspaces
Source§fn clone(&self) -> Workspaces
fn clone(&self) -> Workspaces
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 Workspaces
impl Debug for Workspaces
Source§impl HyprData for Workspaces
impl HyprData for Workspaces
Source§fn instance_get(instance: &Instance) -> Result<Self>
fn instance_get(instance: &Instance) -> Result<Self>
This method gets the data
Source§async fn instance_get_async(instance: &Instance) -> Result<Self>
async fn instance_get_async(instance: &Instance) -> Result<Self>
This method gets the data (async)
Source§impl HyprDataVec<Workspace> for Workspaces
impl HyprDataVec<Workspace> for Workspaces
Source§impl IntoIterator for Workspaces
impl IntoIterator for Workspaces
Source§impl<'a> IntoIterator for &'a Workspaces
impl<'a> IntoIterator for &'a Workspaces
Source§impl<'a> IntoIterator for &'a mut Workspaces
impl<'a> IntoIterator for &'a mut Workspaces
Auto Trait Implementations§
impl Freeze for Workspaces
impl RefUnwindSafe for Workspaces
impl Send for Workspaces
impl Sync for Workspaces
impl Unpin for Workspaces
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more