pub struct DirList {
pub dirs: Vec<PathBuf>,
pub theme: String,
}
Expand description
A simple structure to hold directory and theme list.
The reason this is needed is because the theme name is not the same as the directory name :-P
Fields§
§dirs: Vec<PathBuf>
the PathBuf
theme: String
The name of the theme
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirList
impl RefUnwindSafe for DirList
impl Send for DirList
impl Sync for DirList
impl Unpin for DirList
impl UnwindSafe for DirList
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