Struct handlr_regex::apps::SystemApps
source · pub struct SystemApps(pub HashMap<Mime, VecDeque<Handler>>);Tuple Fields§
§0: HashMap<Mime, VecDeque<Handler>>Implementations§
source§impl SystemApps
impl SystemApps
pub fn get_handlers(&self, mime: &Mime) -> Option<VecDeque<Handler>>
pub fn get_handler(&self, mime: &Mime) -> Option<Handler>
pub fn get_entries() -> Result<impl Iterator<Item = (OsString, DesktopEntry)>>
pub fn populate() -> Result<Self>
Trait Implementations§
source§impl Clone for SystemApps
impl Clone for SystemApps
source§fn clone(&self) -> SystemApps
fn clone(&self) -> SystemApps
Returns a copy of the value. Read more
1.0.0 · 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 SystemApps
impl Debug for SystemApps
source§impl Default for SystemApps
impl Default for SystemApps
source§fn default() -> SystemApps
fn default() -> SystemApps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SystemApps
impl Send for SystemApps
impl Sync for SystemApps
impl Unpin for SystemApps
impl UnwindSafe for SystemApps
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