Struct gtk::RecentInfo [−][src]
Implementations
impl RecentInfo
[src]
pub fn create_app_info<'a, P: Into<Option<&'a str>>>(
&self,
app_name: P
) -> Result<Option<AppInfo>, Error>
[src]
&self,
app_name: P
) -> Result<Option<AppInfo>, Error>
pub fn exists(&self) -> bool
[src]
pub fn get_added(&self) -> c_long
[src]
pub fn get_age(&self) -> i32
[src]
pub fn get_application_info(
&self,
app_name: &str
) -> Option<(GString, u32, c_long)>
[src]
&self,
app_name: &str
) -> Option<(GString, u32, c_long)>
pub fn get_applications(&self) -> Vec<GString>
[src]
pub fn get_description(&self) -> Option<GString>
[src]
pub fn get_display_name(&self) -> Option<GString>
[src]
pub fn get_gicon(&self) -> Option<Icon>
[src]
pub fn get_groups(&self) -> Vec<GString>
[src]
pub fn get_icon(&self, size: i32) -> Option<Pixbuf>
[src]
pub fn get_mime_type(&self) -> Option<GString>
[src]
pub fn get_modified(&self) -> c_long
[src]
pub fn get_private_hint(&self) -> bool
[src]
pub fn get_short_name(&self) -> Option<GString>
[src]
pub fn get_uri(&self) -> Option<GString>
[src]
pub fn get_uri_display(&self) -> Option<GString>
[src]
pub fn get_visited(&self) -> c_long
[src]
pub fn has_application(&self, app_name: &str) -> bool
[src]
pub fn has_group(&self, group_name: &str) -> bool
[src]
pub fn is_local(&self) -> bool
[src]
pub fn last_application(&self) -> Option<GString>
[src]
pub fn match_(&self, info_b: &RecentInfo) -> bool
[src]
Trait Implementations
impl Clone for RecentInfo
[src]
fn clone(&self) -> RecentInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RecentInfo
[src]
impl Eq for RecentInfo
[src]
impl Hash for RecentInfo
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for RecentInfo
[src]
fn cmp(&self, other: &RecentInfo) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<RecentInfo> for RecentInfo
[src]
fn eq(&self, other: &RecentInfo) -> bool
[src]
fn ne(&self, other: &RecentInfo) -> bool
[src]
impl PartialOrd<RecentInfo> for RecentInfo
[src]
fn partial_cmp(&self, other: &RecentInfo) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StaticType for RecentInfo
[src]
fn static_type() -> Type
[src]
impl StructuralEq for RecentInfo
[src]
impl StructuralPartialEq for RecentInfo
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,