#[repr(i32)]pub enum WellKnownFolder {
Desktop = 0,
Documents = 1,
Downloads = 2,
Music = 3,
Pictures = 4,
Videos = 5,
}Expand description
Specifies commonly used folders of the user.
Variants§
Desktop = 0
The Desktop folder of the current user.
Documents = 1
The Documents folder of the current user.
Downloads = 2
The Downloads folder of the current user.
Music = 3
The Music folder of the current user.
Pictures = 4
The Pictures folder of the current user.
Videos = 5
The Videos folder of the current user.
Trait Implementations§
Source§impl Clone for WellKnownFolder
impl Clone for WellKnownFolder
impl Copy for WellKnownFolder
Source§impl Debug for WellKnownFolder
impl Debug for WellKnownFolder
impl Eq for WellKnownFolder
Source§impl Hash for WellKnownFolder
impl Hash for WellKnownFolder
Source§impl MarkupTyped for WellKnownFolder
impl MarkupTyped for WellKnownFolder
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for WellKnownFolder
impl PartialEq for WellKnownFolder
impl StructuralPartialEq for WellKnownFolder
Auto Trait Implementations§
impl Freeze for WellKnownFolder
impl RefUnwindSafe for WellKnownFolder
impl Send for WellKnownFolder
impl Sync for WellKnownFolder
impl Unpin for WellKnownFolder
impl UnsafeUnpin for WellKnownFolder
impl UnwindSafe for WellKnownFolder
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more