pub struct ExtensionSet<C> { /* private fields */ }Implementations§
Source§impl<C: ExtensionSpec> ExtensionSet<C>
impl<C: ExtensionSpec> ExtensionSet<C>
pub fn new( scope_id: impl Into<String>, working_dir: Option<PathBuf>, extensions: Vec<C>, ) -> Result<Self, ExtensionError>
pub fn with_container(self, container: Option<Container>) -> Self
pub fn scope_id(&self) -> &str
pub fn working_dir(&self) -> Option<&Path>
pub fn container(&self) -> Option<&Container>
pub fn extensions(&self) -> &[C]
Trait Implementations§
Auto Trait Implementations§
impl<C> Forget for ExtensionSet<C>
impl<C> Freeze for ExtensionSet<C>
impl<C> Move for ExtensionSet<C>
impl<C> RefUnwindSafe for ExtensionSet<C>where
Vec<C>: RefUnwindSafe,
impl<C> Send for ExtensionSet<C>
impl<C> Sync for ExtensionSet<C>
impl<C> Unpin for ExtensionSet<C>
impl<C> UnsafeUnpin for ExtensionSet<C>where
Vec<C>: UnsafeUnpin,
impl<C> UnwindSafe for ExtensionSet<C>where
Vec<C>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.