pub struct ExplorerLocation {
pub id: String,
pub label: String,
pub kind: String,
pub dir: String,
}Fields§
§id: StringStable, unique id (“home”, “desktop”, “volume:/Volumes/X”, “root”, …).
label: String§kind: String“home” | “desktop” | “documents” | “downloads” | “icloud” | “onedrive” | “volume” | “root”.
dir: StringDisplay path of the location’s root directory.
Trait Implementations§
Source§impl Clone for ExplorerLocation
impl Clone for ExplorerLocation
Source§impl Debug for ExplorerLocation
impl Debug for ExplorerLocation
Auto Trait Implementations§
impl Forget for ExplorerLocation
impl Freeze for ExplorerLocation
impl Move for ExplorerLocation
impl RefUnwindSafe for ExplorerLocation
impl Send for ExplorerLocation
impl Sync for ExplorerLocation
impl Unpin for ExplorerLocation
impl UnsafeUnpin for ExplorerLocation
impl UnwindSafe for ExplorerLocation
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