pub enum WasmBuildProfile {
Debug,
Release,
}Expand description
WasmBuildProfile
Variants§
Implementations§
Source§impl WasmBuildProfile
impl WasmBuildProfile
Sourcepub const fn cargo_flag(self) -> Option<&'static str>
pub const fn cargo_flag(self) -> Option<&'static str>
Return the Cargo profile flag for this build profile.
Sourcepub const fn target_dir_name(self) -> &'static str
pub const fn target_dir_name(self) -> &'static str
Return the target-directory component for this build profile.
Sourcepub const fn dfx_release_value(self) -> &'static str
pub const fn dfx_release_value(self) -> &'static str
Return the RELEASE environment value expected by dfx.
Trait Implementations§
Source§impl Clone for WasmBuildProfile
impl Clone for WasmBuildProfile
Source§fn clone(&self) -> WasmBuildProfile
fn clone(&self) -> WasmBuildProfile
Returns a duplicate 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 WasmBuildProfile
impl Debug for WasmBuildProfile
Source§impl PartialEq for WasmBuildProfile
impl PartialEq for WasmBuildProfile
impl Copy for WasmBuildProfile
impl Eq for WasmBuildProfile
impl StructuralPartialEq for WasmBuildProfile
Auto Trait Implementations§
impl Freeze for WasmBuildProfile
impl RefUnwindSafe for WasmBuildProfile
impl Send for WasmBuildProfile
impl Sync for WasmBuildProfile
impl Unpin for WasmBuildProfile
impl UnsafeUnpin for WasmBuildProfile
impl UnwindSafe for WasmBuildProfile
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.