pub enum DirectoryType {
Fixed,
Scalable,
Threshold,
}
Expand description
§Type
(a.k.a DirectoryType/xdg_type)
The type of icon sizes for the icons in this directory. Valid types are:
- Fixed
- Scalable
- Threshold
The type decides what other keys in the section are used. If not specified, the default is Threshold.
Variants§
Trait Implementations§
Source§impl Clone for DirectoryType
impl Clone for DirectoryType
Source§fn clone(&self) -> DirectoryType
fn clone(&self) -> DirectoryType
Returns a duplicate 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 moreSource§impl Debug for DirectoryType
impl Debug for DirectoryType
impl Copy for DirectoryType
Auto Trait Implementations§
impl Freeze for DirectoryType
impl RefUnwindSafe for DirectoryType
impl Send for DirectoryType
impl Sync for DirectoryType
impl Unpin for DirectoryType
impl UnwindSafe for DirectoryType
Blanket Implementations§
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