Trait swayr::ipc::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 windows(&self) -> Vec<&Node>;
fn workspaces(&self) -> Vec<&Node>;
fn is_scratchpad(&self) -> bool; }

Extension methods for swayipc::reply::Node.

Required methods

fn iter(&self) -> NodeIter<'_>

Notable traits for NodeIter<'a>

impl<'a> Iterator for NodeIter<'a> type Item = &'a Node;
[src]

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

fn windows(&self) -> Vec<&Node>[src]

Returns all nodes being application windows.

fn workspaces(&self) -> Vec<&Node>[src]

Returns all nodes being workspaces.

fn is_scratchpad(&self) -> bool[src]

Loading content...

Implementations on Foreign Types

impl NodeMethods for Node[src]

Loading content...

Implementors

Loading content...