Struct gtk::RecentInfo
source · [−]pub struct RecentInfo(_);Implementations
sourceimpl 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
sourceimpl Clone for RecentInfo
impl Clone for RecentInfo
sourcefn clone(&self) -> RecentInfo
fn clone(&self) -> RecentInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RecentInfo
impl Debug for RecentInfo
sourceimpl Hash for RecentInfo
impl Hash for RecentInfo
sourceimpl Ord for RecentInfo
impl Ord for RecentInfo
sourcefn cmp(&self, other: &RecentInfo) -> Ordering
fn cmp(&self, other: &RecentInfo) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<RecentInfo> for RecentInfo
impl PartialEq<RecentInfo> for RecentInfo
sourcefn eq(&self, other: &RecentInfo) -> bool
fn eq(&self, other: &RecentInfo) -> bool
sourceimpl PartialOrd<RecentInfo> for RecentInfo
impl PartialOrd<RecentInfo> for RecentInfo
sourcefn partial_cmp(&self, other: &RecentInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &RecentInfo) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl StaticType for RecentInfo
impl StaticType for RecentInfo
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl Eq for RecentInfo
impl StructuralEq for RecentInfo
impl StructuralPartialEq for RecentInfo
Auto Trait Implementations
impl RefUnwindSafe for RecentInfo
impl !Send for RecentInfo
impl !Sync for RecentInfo
impl Unpin for RecentInfo
impl UnwindSafe for RecentInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more