Enum pwasm_utils::TargetRuntime
source · [−]pub enum TargetRuntime {
Substrate(TargetSymbols),
PWasm(TargetSymbols),
}
Variants
Substrate(TargetSymbols)
PWasm(TargetSymbols)
Implementations
sourceimpl TargetRuntime
impl TargetRuntime
pub fn substrate() -> TargetRuntime
pub fn pwasm() -> TargetRuntime
pub fn symbols(&self) -> &TargetSymbols
Auto Trait Implementations
impl RefUnwindSafe for TargetRuntime
impl Send for TargetRuntime
impl Sync for TargetRuntime
impl Unpin for TargetRuntime
impl UnwindSafe for TargetRuntime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more