pub struct ItemSquishEraFlat {
pub id: i32,
pub patch: i32,
pub curve_id: i32,
pub flags: i32,
}Expand description
Flat per-expansion item-squish era from ItemSquishEra DBC table.
Fields§
§id: i32§patch: i32§curve_id: i32§flags: i32Trait Implementations§
Source§impl Clone for ItemSquishEraFlat
impl Clone for ItemSquishEraFlat
Source§fn clone(&self) -> ItemSquishEraFlat
fn clone(&self) -> ItemSquishEraFlat
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 CopyInsert for ItemSquishEraFlat
impl CopyInsert for ItemSquishEraFlat
Source§impl Debug for ItemSquishEraFlat
impl Debug for ItemSquishEraFlat
Source§impl Default for ItemSquishEraFlat
impl Default for ItemSquishEraFlat
Source§fn default() -> ItemSquishEraFlat
fn default() -> ItemSquishEraFlat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ItemSquishEraFlat
impl<'de> Deserialize<'de> for ItemSquishEraFlat
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<ItemSquishEraFlat> for JsValuewhere
ItemSquishEraFlat: Serialize,
impl From<ItemSquishEraFlat> for JsValuewhere
ItemSquishEraFlat: Serialize,
Source§fn from(value: ItemSquishEraFlat) -> Self
fn from(value: ItemSquishEraFlat) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ItemSquishEraFlatwhere
Self: DeserializeOwned,
impl FromWasmAbi for ItemSquishEraFlatwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
impl IntoWasmAbi for &ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
Source§impl IntoWasmAbi for ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
impl IntoWasmAbi for ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
Source§impl JsonSchema for ItemSquishEraFlat
impl JsonSchema for ItemSquishEraFlat
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 moreSource§impl OptionFromWasmAbi for ItemSquishEraFlatwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for ItemSquishEraFlatwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
impl OptionIntoWasmAbi for ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
Source§impl RefFromWasmAbi for ItemSquishEraFlatwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for ItemSquishEraFlatwhere
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<ItemSquishEraFlat>
type Anchor = SelfOwner<ItemSquishEraFlat>
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 ItemSquishEraFlat
impl Serialize for ItemSquishEraFlat
Source§impl Tsify for ItemSquishEraFlat
impl Tsify for ItemSquishEraFlat
const DECL: &'static str = "/**\n * Flat per-expansion item-squish era from `ItemSquishEra` DBC table.\n */\nexport interface ItemSquishEraFlat {\n id: number;\n patch: number;\n curve_id: number;\n flags: number;\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 ItemSquishEraFlatwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for ItemSquishEraFlatwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
impl VectorIntoWasmAbi for ItemSquishEraFlatwhere
ItemSquishEraFlat: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for ItemSquishEraFlat
impl WasmDescribe for ItemSquishEraFlat
Auto Trait Implementations§
impl Freeze for ItemSquishEraFlat
impl RefUnwindSafe for ItemSquishEraFlat
impl Send for ItemSquishEraFlat
impl Sync for ItemSquishEraFlat
impl Unpin for ItemSquishEraFlat
impl UnsafeUnpin for ItemSquishEraFlat
impl UnwindSafe for ItemSquishEraFlat
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<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.