Struct wasmer_cli::commands::CommandEntrypoint
source · pub struct CommandEntrypoint {
pub command: String,
pub atom: String,
pub path: PathBuf,
pub header: Option<PathBuf>,
pub module_info: Option<ModuleInfo>,
}Expand description
Command entrypoint for multiple commands
Fields§
§command: StringCommand name
atom: StringAtom name
path: PathBufPath to the object file, relative to the entrypoint.json parent dir
header: Option<PathBuf>Optional path to the static_defs.h header file, relative to the entrypoint.json parent dir
module_info: Option<ModuleInfo>Module info, set when the wasm file is compiled
Trait Implementations§
source§impl Clone for CommandEntrypoint
impl Clone for CommandEntrypoint
source§fn clone(&self) -> CommandEntrypoint
fn clone(&self) -> CommandEntrypoint
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 CommandEntrypoint
impl Debug for CommandEntrypoint
source§impl<'de> Deserialize<'de> for CommandEntrypoint
impl<'de> Deserialize<'de> for CommandEntrypoint
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 PartialEq<CommandEntrypoint> for CommandEntrypoint
impl PartialEq<CommandEntrypoint> for CommandEntrypoint
source§fn eq(&self, other: &CommandEntrypoint) -> bool
fn eq(&self, other: &CommandEntrypoint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CommandEntrypoint
impl Serialize for CommandEntrypoint
impl Eq for CommandEntrypoint
impl StructuralEq for CommandEntrypoint
impl StructuralPartialEq for CommandEntrypoint
Auto Trait Implementations§
impl RefUnwindSafe for CommandEntrypoint
impl Send for CommandEntrypoint
impl Sync for CommandEntrypoint
impl Unpin for CommandEntrypoint
impl UnwindSafe for CommandEntrypoint
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.