pub struct WasmMemory {
pub path: String,
pub kind: String,
pub size: u64,
pub pages: f64,
}Fields§
§path: String§kind: String§size: u64§pages: f64Trait Implementations§
Source§impl Clone for WasmMemory
impl Clone for WasmMemory
Source§impl Debug for WasmMemory
impl Debug for WasmMemory
Source§impl<'de> Deserialize<'de> for WasmMemory
impl<'de> Deserialize<'de> for WasmMemory
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 JsonSchema for WasmMemory
impl JsonSchema for WasmMemory
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for WasmMemory
impl Freeze for WasmMemory
impl Move for WasmMemory
impl RefUnwindSafe for WasmMemory
impl Send for WasmMemory
impl Sync for WasmMemory
impl Unpin for WasmMemory
impl UnsafeUnpin for WasmMemory
impl UnwindSafe for WasmMemory
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