pub struct MemoryIncludeLoaderOptions {
pub content: HashMap<String, String>,
}
Fields§
§content: HashMap<String, String>
Implementations§
Source§impl MemoryIncludeLoaderOptions
impl MemoryIncludeLoaderOptions
pub fn build(self) -> Box<dyn IncludeLoader + Send + Sync + 'static>
pub fn build_async(self) -> Box<dyn AsyncIncludeLoader + Send + Sync + 'static>
Trait Implementations§
Source§impl Clone for MemoryIncludeLoaderOptions
impl Clone for MemoryIncludeLoaderOptions
Source§fn clone(&self) -> MemoryIncludeLoaderOptions
fn clone(&self) -> MemoryIncludeLoaderOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MemoryIncludeLoaderOptions
impl Debug for MemoryIncludeLoaderOptions
Source§impl<'de> Deserialize<'de> for MemoryIncludeLoaderOptions
impl<'de> Deserialize<'de> for MemoryIncludeLoaderOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for MemoryIncludeLoaderOptionswhere
Self: DeserializeOwned,
impl FromWasmAbi for MemoryIncludeLoaderOptionswhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for MemoryIncludeLoaderOptionswhere
Self: Serialize,
impl IntoWasmAbi for MemoryIncludeLoaderOptionswhere
Self: Serialize,
Source§impl OptionFromWasmAbi for MemoryIncludeLoaderOptionswhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for MemoryIncludeLoaderOptionswhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for MemoryIncludeLoaderOptionswhere
Self: Serialize,
impl OptionIntoWasmAbi for MemoryIncludeLoaderOptionswhere
Self: Serialize,
Source§impl Tsify for MemoryIncludeLoaderOptions
impl Tsify for MemoryIncludeLoaderOptions
Auto Trait Implementations§
impl Freeze for MemoryIncludeLoaderOptions
impl RefUnwindSafe for MemoryIncludeLoaderOptions
impl Send for MemoryIncludeLoaderOptions
impl Sync for MemoryIncludeLoaderOptions
impl Unpin for MemoryIncludeLoaderOptions
impl UnwindSafe for MemoryIncludeLoaderOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.