Struct g_rust::extension::parsers::subparsers::ActionDefinition
source · pub struct ActionDefinition {Show 13 fields
pub furni_limit: i32,
pub stuff_ids: Vec<LegacyId>,
pub stuff_type_id: i32,
pub id: LegacyId,
pub string_param: String,
pub int_params: Vec<i32>,
pub furni_source_types: Vec<i32>,
pub user_source_types: Vec<i32>,
pub code: i32,
pub delay_in_pulses: i32,
pub advanced_mode: bool,
pub input_sources_conf: InputSourcesConf,
pub allow_wall_furni: bool,
}Fields§
§furni_limit: i32§stuff_ids: Vec<LegacyId>§stuff_type_id: i32§id: LegacyId§string_param: String§int_params: Vec<i32>§furni_source_types: Vec<i32>§user_source_types: Vec<i32>§code: i32§delay_in_pulses: i32§advanced_mode: bool§input_sources_conf: InputSourcesConf§allow_wall_furni: boolTrait Implementations§
source§impl Clone for ActionDefinition
impl Clone for ActionDefinition
source§fn clone(&self) -> ActionDefinition
fn clone(&self) -> ActionDefinition
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 ActionDefinition
impl Debug for ActionDefinition
source§impl Default for ActionDefinition
impl Default for ActionDefinition
source§fn default() -> ActionDefinition
fn default() -> ActionDefinition
Returns the “default value” for a type. Read more
source§impl PacketVariable for ActionDefinition
impl PacketVariable for ActionDefinition
source§impl PartialEq<ActionDefinition> for ActionDefinition
impl PartialEq<ActionDefinition> for ActionDefinition
source§fn eq(&self, other: &ActionDefinition) -> bool
fn eq(&self, other: &ActionDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ActionDefinition
Auto Trait Implementations§
impl RefUnwindSafe for ActionDefinition
impl Send for ActionDefinition
impl Sync for ActionDefinition
impl Unpin for ActionDefinition
impl UnwindSafe for ActionDefinition
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