Struct wasm_builder_runner::WasmBuilderSelectSource [−][src]
Second step of the WasmBuilder
to set the source of the wasm-builder
.
Implementations
impl WasmBuilderSelectSource
[src]
pub fn with_wasm_builder_from_path(self, path: &'static str) -> WasmBuilder
[src]
Use the given path
as source for wasm-builder
.
The path
must be relative and point to the directory that contains the Cargo.toml
for
wasm-builder
.
pub fn with_wasm_builder_from_git(
self,
repo: &'static str,
rev: &'static str
) -> WasmBuilder
[src]
self,
repo: &'static str,
rev: &'static str
) -> WasmBuilder
Use the given repo
and rev
as source for wasm-builder
.
pub fn with_wasm_builder_from_crates(self, version: &'static str) -> WasmBuilder
[src]
Use the given version
to fetch wasm-builder
source from crates.io.
pub fn with_wasm_builder_from_crates_or_path(
self,
version: &'static str,
path: &'static str
) -> WasmBuilder
[src]
self,
version: &'static str,
path: &'static str
) -> WasmBuilder
Use the given version
to fetch wasm-builder
source from crates.io or use
the given path
as source.
The path
must be relative and point to the directory that contains the Cargo.toml
for
wasm-builder
.
pub fn with_wasm_builder_source(self, source: WasmBuilderSource) -> WasmBuilder
[src]
Use the given source
as source for wasm-builder
.
Auto Trait Implementations
impl RefUnwindSafe for WasmBuilderSelectSource
impl Send for WasmBuilderSelectSource
impl Sync for WasmBuilderSelectSource
impl Unpin for WasmBuilderSelectSource
impl UnwindSafe for WasmBuilderSelectSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,