pub struct PreloadOptions {
pub folders: Vec<String>,
pub ext: Vec<String>,
pub recursive: bool,
}Expand description
Which folders to scan, and for what.
Fields§
§folders: Vec<String>Folders to scan.
ext: Vec<String>Extensions to load. Empty selects .jsonic and .json. A
missing leading dot is added.
recursive: boolDescend into subfolders.
Implementations§
Source§impl PreloadOptions
impl PreloadOptions
Trait Implementations§
Source§impl Clone for PreloadOptions
impl Clone for PreloadOptions
Source§impl Debug for PreloadOptions
impl Debug for PreloadOptions
Source§impl Default for PreloadOptions
impl Default for PreloadOptions
impl Eq for PreloadOptions
Source§impl PartialEq for PreloadOptions
impl PartialEq for PreloadOptions
impl StructuralPartialEq for PreloadOptions
Auto Trait Implementations§
impl Forget for PreloadOptions
impl Freeze for PreloadOptions
impl Move for PreloadOptions
impl RefUnwindSafe for PreloadOptions
impl Send for PreloadOptionswhere
RawVecInner: Send,
impl Sync for PreloadOptionswhere
RawVecInner: Sync,
impl Unpin for PreloadOptions
impl UnsafeUnpin for PreloadOptions
impl UnwindSafe for PreloadOptionswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.