pub struct LoadOptions<'a> {
pub id: Option<&'a str>,
pub explicit_file: Option<&'a Path>,
pub extra_profile_dirs: Vec<PathBuf>,
pub include_shipped: bool,
pub include_user_config: bool,
}Expand description
Catalog load inputs. Same-id layers merge field-wise (shipped < user dir < explicit file).
Fields§
§id: Option<&'a str>Optional id hint (required unless an explicit file supplies id).
explicit_file: Option<&'a Path>Extra file to include, keyed by its document id.
extra_profile_dirs: Vec<PathBuf>Extra directories of profile files (WIREMUX_PROFILE_DIR).
include_shipped: boolWhen false, skip crate-shipped presets.
include_user_config: boolWhen false, skip XDG/HOME user dirs and WIREMUX_PROFILE_DIR.
Trait Implementations§
Source§impl<'a> Clone for LoadOptions<'a>
impl<'a> Clone for LoadOptions<'a>
Source§impl<'a> Debug for LoadOptions<'a>
impl<'a> Debug for LoadOptions<'a>
Auto Trait Implementations§
impl<'a> Forget for LoadOptions<'a>
impl<'a> Freeze for LoadOptions<'a>
impl<'a> RefUnwindSafe for LoadOptions<'a>
impl<'a> Send for LoadOptions<'a>
impl<'a> Sync for LoadOptions<'a>
impl<'a> Unpin for LoadOptions<'a>
impl<'a> UnsafeUnpin for LoadOptions<'a>
impl<'a> UnwindSafe for LoadOptions<'a>
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