Struct gtk4::RecentInfo
source · [−]#[repr(transparent)]pub struct RecentInfo { /* private fields */ }
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 added(&self) -> DateTime
pub fn age(&self) -> i32
pub fn application_info(
&self,
app_name: &str
) -> Option<(GString, u32, DateTime)>
pub fn applications(&self) -> Vec<GString>
pub fn description(&self) -> GString
pub fn display_name(&self) -> GString
pub fn gicon(&self) -> Option<Icon>
pub fn groups(&self) -> Vec<GString>
pub fn mime_type(&self) -> GString
pub fn modified(&self) -> DateTime
pub fn is_private_hint(&self) -> bool
pub fn short_name(&self) -> GString
pub fn uri(&self) -> GString
pub fn uri_display(&self) -> Option<GString>
pub fn visited(&self) -> DateTime
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) -> GString
pub fn match_(&self, info_b: &RecentInfo) -> bool
Trait Implementations
sourceimpl Clone for RecentInfo
impl Clone for RecentInfo
sourceimpl Debug for RecentInfo
impl Debug for RecentInfo
sourceimpl Hash for RecentInfo
impl Hash for RecentInfo
sourceimpl Ord for RecentInfo
impl Ord for RecentInfo
sourceimpl PartialEq<RecentInfo> for RecentInfo
impl PartialEq<RecentInfo> for RecentInfo
sourcefn eq(&self, other: &RecentInfo) -> bool
fn eq(&self, other: &RecentInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RecentInfo) -> bool
fn ne(&self, other: &RecentInfo) -> bool
This method tests for !=
.
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>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more