pub struct TriggerItem {
pub action_delivery: &'static [LuaAny],
pub collision_mask: LuaAny,
pub entity_flags: LuaAny,
pub force: ForceCondition,
pub ignore_collision_condition: bool,
pub probability: f32,
pub repeat_count: u32,
pub trigger_target_mask: LuaAny,
pub type: TriggerItemType,
}Fields§
§action_delivery: &'static [LuaAny]§collision_mask: LuaAny§entity_flags: LuaAny§force: ForceCondition§ignore_collision_condition: bool§probability: f32§repeat_count: u32§trigger_target_mask: LuaAny§type: TriggerItemTypeTrait Implementations§
Source§impl Clone for TriggerItem
impl Clone for TriggerItem
Source§fn clone(&self) -> TriggerItem
fn clone(&self) -> TriggerItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TriggerItem
Source§impl Debug for TriggerItem
impl Debug for TriggerItem
Source§impl Default for TriggerItem
impl Default for TriggerItem
Source§fn default() -> TriggerItem
fn default() -> TriggerItem
Returns the “default value” for a type. Read more
Source§impl PartialEq for TriggerItem
impl PartialEq for TriggerItem
impl StructuralPartialEq for TriggerItem
Auto Trait Implementations§
impl Freeze for TriggerItem
impl RefUnwindSafe for TriggerItem
impl Send for TriggerItem
impl Sync for TriggerItem
impl Unpin for TriggerItem
impl UnsafeUnpin for TriggerItem
impl UnwindSafe for TriggerItem
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