pub struct War3MapMetadata {
pub map_info: Option<War3MapW3i>,
pub images: Vec<War3Image>,
}Fields§
§map_info: Option<War3MapW3i>§images: Vec<War3Image>Trait Implementations§
Source§impl Debug for War3MapMetadata
impl Debug for War3MapMetadata
Source§impl<'de> Deserialize<'de> for War3MapMetadata
impl<'de> Deserialize<'de> for War3MapMetadata
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 From<War3MapMetadata> for JsValuewhere
War3MapMetadata: Serialize,
impl From<War3MapMetadata> for JsValuewhere
War3MapMetadata: Serialize,
Source§fn from(value: War3MapMetadata) -> Self
fn from(value: War3MapMetadata) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
impl FromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for War3MapMetadatawhere
War3MapMetadata: Serialize,
impl IntoWasmAbi for War3MapMetadatawhere
War3MapMetadata: Serialize,
Source§impl OptionFromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for War3MapMetadatawhere
War3MapMetadata: Serialize,
impl OptionIntoWasmAbi for War3MapMetadatawhere
War3MapMetadata: Serialize,
Source§impl RefFromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
impl RefFromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<War3MapMetadata>
type Anchor = SelfOwner<War3MapMetadata>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for War3MapMetadata
impl Serialize for War3MapMetadata
Source§impl Tsify for War3MapMetadata
impl Tsify for War3MapMetadata
const DECL: &'static str = "export interface War3MapMetadata {\n map_info: War3MapW3i | null;\n images: War3Image[];\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for War3MapMetadatawhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for War3MapMetadatawhere
War3MapMetadata: Serialize,
impl VectorIntoWasmAbi for War3MapMetadatawhere
War3MapMetadata: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for War3MapMetadata
impl WasmDescribeVector for War3MapMetadata
Auto Trait Implementations§
impl Freeze for War3MapMetadata
impl RefUnwindSafe for War3MapMetadata
impl Send for War3MapMetadata
impl Sync for War3MapMetadata
impl Unpin for War3MapMetadata
impl UnwindSafe for War3MapMetadata
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.