Struct rpgmxp_types::common_event::CommonEvent
source · pub struct CommonEvent {
pub name: String,
pub list: Vec<EventCommand>,
pub trigger: i32,
pub switch_id: i32,
pub id: i32,
}
Fields§
§name: String
§list: Vec<EventCommand>
§trigger: i32
§switch_id: i32
§id: i32
Trait Implementations§
source§impl Debug for CommonEvent
impl Debug for CommonEvent
source§impl<'de> Deserialize<'de> for CommonEvent
impl<'de> Deserialize<'de> for CommonEvent
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<'a> FromValue<'a> for CommonEvent
impl<'a> FromValue<'a> for CommonEvent
source§fn from_value(
ctx: &FromValueContext<'a>,
value: &Value,
) -> Result<Self, FromValueError>
fn from_value( ctx: &FromValueContext<'a>, value: &Value, ) -> Result<Self, FromValueError>
Create this type from the given value from the [
ValueArena
]. Read moresource§impl IntoValue for CommonEvent
impl IntoValue for CommonEvent
source§fn into_value(
self,
arena: &mut ValueArena,
) -> Result<ValueHandle, IntoValueError>
fn into_value( self, arena: &mut ValueArena, ) -> Result<ValueHandle, IntoValueError>
Turn this type into a Ruby Value.
Auto Trait Implementations§
impl Freeze for CommonEvent
impl RefUnwindSafe for CommonEvent
impl Send for CommonEvent
impl Sync for CommonEvent
impl Unpin for CommonEvent
impl UnwindSafe for CommonEvent
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