pub trait NodeMethods {
fn iter(&self) -> NodeIter<'_>ⓘNotable traits for NodeIter<'a>impl<'a> Iterator for NodeIter<'a> type Item = &'a Node;
;
fn get_type(&self) -> Type;
fn get_app_name(&self) -> &str;
fn nodes_of_type(&self, t: Type) -> Vec<&Node>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn get_name(&self) -> &str;
fn is_scratchpad(&self) -> bool;
fn is_floating(&self) -> bool;
fn is_current(&self) -> bool;
}
Expand description
Extension methods for [swayipc::Node
].
Required Methods
fn iter(&self) -> NodeIter<'_>ⓘNotable traits for NodeIter<'a>impl<'a> Iterator for NodeIter<'a> type Item = &'a Node;
fn get_app_name(&self) -> &str
fn nodes_of_type(&self, t: Type) -> Vec<&Node>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn is_scratchpad(&self) -> bool
fn is_floating(&self) -> bool
fn is_current(&self) -> bool
Implementations on Foreign Types
sourceimpl NodeMethods for Node
impl NodeMethods for Node
fn iter(&self) -> NodeIter<'_>ⓘNotable traits for NodeIter<'a>impl<'a> Iterator for NodeIter<'a> type Item = &'a Node;
fn get_type(&self) -> Type
fn get_name(&self) -> &str
fn get_app_name(&self) -> &str
fn is_scratchpad(&self) -> bool
fn nodes_of_type(&self, t: Type) -> Vec<&Node>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,