Struct pepper::client::ClientManager
source · pub struct ClientManager { /* private fields */ }
Implementations§
source§impl ClientManager
impl ClientManager
pub fn focused_client(&self) -> Option<ClientHandle>
pub fn previous_focused_client(&self) -> Option<ClientHandle>
pub fn focus_client(&mut self, handle: ClientHandle) -> bool
pub fn get(&self, handle: ClientHandle) -> &Client
pub fn get_mut(&mut self, handle: ClientHandle) -> &mut Client
pub fn iter(&self) -> impl Clone + Iterator<Item = &Client>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Client>
Trait Implementations§
source§impl Default for ClientManager
impl Default for ClientManager
source§fn default() -> ClientManager
fn default() -> ClientManager
Returns the “default value” for a type. Read more