Struct wild_doc_script::WildDocState
source · pub struct WildDocState { /* private fields */ }
Implementations§
source§impl WildDocState
impl WildDocState
pub fn new( initial_stack: VarsStack, global: Arc<Mutex<IndexMap<String, WildDocValue>>>, cache_dir: PathBuf, include_adaptor: Arc<Mutex<Box<dyn IncludeAdaptor + Send>>> ) -> Self
pub fn cache_dir(&self) -> &Path
pub fn stack(&self) -> &Arc<Mutex<VarsStack>>
pub fn global(&self) -> &Arc<Mutex<IndexMap<String, WildDocValue>>>
pub fn include_adaptor(&self) -> &Mutex<Box<dyn IncludeAdaptor + Send>>
Auto Trait Implementations§
impl !RefUnwindSafe for WildDocState
impl Send for WildDocState
impl Sync for WildDocState
impl Unpin for WildDocState
impl !UnwindSafe for WildDocState
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