pub struct PreopenedStores(/* private fields */);Expand description
Capsule-owned map from stable preopened names to private host paths.
Implementations§
Source§impl PreopenedStores
impl PreopenedStores
Sourcepub fn new(values: impl IntoIterator<Item = (Symbol, PathBuf)>) -> Self
pub fn new(values: impl IntoIterator<Item = (Symbol, PathBuf)>) -> Self
Builds the capsule authority map. Paths never enter the relation locator.
Trait Implementations§
Source§impl Clone for PreopenedStores
impl Clone for PreopenedStores
Source§fn clone(&self) -> PreopenedStores
fn clone(&self) -> PreopenedStores
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for PreopenedStores
impl Default for PreopenedStores
Source§fn default() -> PreopenedStores
fn default() -> PreopenedStores
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PreopenedStores
impl RefUnwindSafe for PreopenedStores
impl Send for PreopenedStores
impl Sync for PreopenedStores
impl Unpin for PreopenedStores
impl UnsafeUnpin for PreopenedStores
impl UnwindSafe for PreopenedStores
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