pub enum UserDirectory {
Desktop,
Documents,
Downloads,
Music,
Pictures,
PublicShare,
Templates,
Videos,
// some variants omitted
}
Variants§
Trait Implementations§
§impl Clone for UserDirectory
impl Clone for UserDirectory
§fn clone(&self) -> UserDirectory
fn clone(&self) -> UserDirectory
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 more§impl Debug for UserDirectory
impl Debug for UserDirectory
§impl Hash for UserDirectory
impl Hash for UserDirectory
§impl PartialEq<UserDirectory> for UserDirectory
impl PartialEq<UserDirectory> for UserDirectory
§fn eq(&self, other: &UserDirectory) -> bool
fn eq(&self, other: &UserDirectory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserDirectory
impl Eq for UserDirectory
impl StructuralEq for UserDirectory
impl StructuralPartialEq for UserDirectory
Auto Trait Implementations§
impl RefUnwindSafe for UserDirectory
impl Send for UserDirectory
impl Sync for UserDirectory
impl Unpin for UserDirectory
impl UnwindSafe for UserDirectory
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.