pub struct WorkspaceRules(/* private fields */);Expand description
This struct holds a vector of workspace rules per workspace
Implementations§
Source§impl WorkspaceRules
impl WorkspaceRules
Sourcepub fn iter(&self) -> Iter<'_, WorkspaceRuleset>
pub fn iter(&self) -> Iter<'_, WorkspaceRuleset>
Creates the iterator by references of WorkspaceRules.
Sourcepub fn iter_mut(&mut self) -> IterMut<'_, WorkspaceRuleset>
pub fn iter_mut(&mut self) -> IterMut<'_, WorkspaceRuleset>
Creates the iterator by mutable references of WorkspaceRules`.
Trait Implementations§
Source§impl Clone for WorkspaceRules
impl Clone for WorkspaceRules
Source§fn clone(&self) -> WorkspaceRules
fn clone(&self) -> WorkspaceRules
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 WorkspaceRules
impl Debug for WorkspaceRules
Source§impl HyprData for WorkspaceRules
impl HyprData for WorkspaceRules
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<WorkspaceRuleset> for WorkspaceRules
impl HyprDataVec<WorkspaceRuleset> for WorkspaceRules
Source§fn to_vec(self) -> Vec<WorkspaceRuleset>
fn to_vec(self) -> Vec<WorkspaceRuleset>
This method returns a vector of data
Source§impl IntoIterator for WorkspaceRules
impl IntoIterator for WorkspaceRules
Source§impl<'a> IntoIterator for &'a WorkspaceRules
impl<'a> IntoIterator for &'a WorkspaceRules
Source§impl<'a> IntoIterator for &'a mut WorkspaceRules
impl<'a> IntoIterator for &'a mut WorkspaceRules
Auto Trait Implementations§
impl Freeze for WorkspaceRules
impl RefUnwindSafe for WorkspaceRules
impl Send for WorkspaceRules
impl Sync for WorkspaceRules
impl Unpin for WorkspaceRules
impl UnsafeUnpin for WorkspaceRules
impl UnwindSafe for WorkspaceRules
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