pub enum WasmBuilderSource {
Path(&'static str),
Git {
repo: &'static str,
rev: &'static str,
},
Crates(&'static str),
CratesOrPath {
version: &'static str,
path: &'static str,
},
}Expand description
The wasm-builder dependency source.
Variants§
Path(&'static str)
The relative path to the source code from the current manifest dir.
Git
The git repository that contains the source code.
Crates(&'static str)
Use the given version released on crates.io.
CratesOrPath
Use the given version released on crates.io or from the given path.
Auto Trait Implementations§
impl Freeze for WasmBuilderSource
impl RefUnwindSafe for WasmBuilderSource
impl Send for WasmBuilderSource
impl Sync for WasmBuilderSource
impl Unpin for WasmBuilderSource
impl UnwindSafe for WasmBuilderSource
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