Trait swayr::con::NodeMethods[][src]

pub trait NodeMethods {
    fn iter(&self) -> NodeIter<'_>
Notable traits for NodeIter<'a>
impl<'a> Iterator for NodeIter<'a> type Item = &'a Node;
;
fn is_window(&self) -> bool;
fn is_container(&self) -> bool;
fn windows(&self) -> Vec<&Node>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn containers(&self) -> Vec<&Node>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn workspaces(&self) -> Vec<&Node>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn is_scratchpad(&self) -> bool; }
Expand description

Extension methods for [swayipc::Node].

Required methods

Returns an iterator for this [swayipc::Node] and its childres.

Either a workspace or a con holding windows, e.g. a vertical split side in a horizontally split workspace.

Returns all nodes being application windows.

Returns all nodes being containers.

Returns all nodes being workspaces.

Implementations on Foreign Types

Implementors