pub struct RecentInfo(/* private fields */);
Implementations§
Source§impl RecentInfo
impl RecentInfo
pub fn create_app_info( &self, app_name: Option<&str>, ) -> Result<Option<AppInfo>, Error>
pub fn exists(&self) -> bool
pub fn get_added(&self) -> c_long
pub fn get_age(&self) -> i32
pub fn get_application_info( &self, app_name: &str, ) -> Option<(GString, u32, c_long)>
pub fn get_applications(&self) -> Vec<GString>
pub fn get_description(&self) -> Option<GString>
pub fn get_display_name(&self) -> Option<GString>
pub fn get_gicon(&self) -> Option<Icon>
pub fn get_groups(&self) -> Vec<GString>
pub fn get_icon(&self, size: i32) -> Option<Pixbuf>
pub fn get_mime_type(&self) -> Option<GString>
pub fn get_modified(&self) -> c_long
pub fn get_private_hint(&self) -> bool
pub fn get_short_name(&self) -> Option<GString>
pub fn get_uri(&self) -> Option<GString>
pub fn get_uri_display(&self) -> Option<GString>
pub fn get_visited(&self) -> c_long
pub fn has_application(&self, app_name: &str) -> bool
pub fn has_group(&self, group_name: &str) -> bool
pub fn is_local(&self) -> bool
pub fn last_application(&self) -> Option<GString>
pub fn match_(&self, info_b: &RecentInfo) -> bool
Trait Implementations§
Source§impl Clone for RecentInfo
impl Clone for RecentInfo
Source§fn clone(&self) -> RecentInfo
fn clone(&self) -> RecentInfo
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 RecentInfo
impl Debug for RecentInfo
Source§impl Hash for RecentInfo
impl Hash for RecentInfo
Source§impl Ord for RecentInfo
impl Ord for RecentInfo
Source§fn cmp(&self, other: &RecentInfo) -> Ordering
fn cmp(&self, other: &RecentInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RecentInfo
impl PartialEq for RecentInfo
Source§impl PartialOrd for RecentInfo
impl PartialOrd for RecentInfo
Source§impl StaticType for RecentInfo
impl StaticType for RecentInfo
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for RecentInfo
impl StructuralPartialEq for RecentInfo
Auto Trait Implementations§
impl Freeze for RecentInfo
impl RefUnwindSafe for RecentInfo
impl !Send for RecentInfo
impl !Sync for RecentInfo
impl Unpin for RecentInfo
impl UnwindSafe for RecentInfo
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