pub struct Options {
pub hidden: bool,
pub respect_ignore: bool,
pub graft: bool,
pub no_graft: bool,
pub refs: Rc<Vec<(String, String)>>,
}Expand description
Options that shape how native sources open (unused on wasm, which only parses text).
Fields§
§respect_ignore: bool§graft: boolOpt directory mounts into grafting (qua’s –graft).
no_graft: boolDisable grafting entirely (qua’s –no-graft).
refs: Rc<Vec<(String, String)>>Declared references, (field, container) pairs — the parsed
--refs document, consumed by the SQLite mounts.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Options
impl !Sync for Options
impl Freeze for Options
impl RefUnwindSafe for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more