pub struct TriggerTargetType {
pub name: &'static str,
}Expand description
Minimal TriggerTargetType for data.extend.
The base game always internally defines a “common” trigger target type. See Design discussion: Trigger target type.
type = "trigger-target-type" is injected by the Lua generator.
Fields§
§name: &'static strPrototype property name.
Trait Implementations§
Source§impl Clone for TriggerTargetType
impl Clone for TriggerTargetType
Source§fn clone(&self) -> TriggerTargetType
fn clone(&self) -> TriggerTargetType
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 TriggerTargetType
Source§impl Debug for TriggerTargetType
impl Debug for TriggerTargetType
Source§impl Default for TriggerTargetType
impl Default for TriggerTargetType
Source§fn default() -> TriggerTargetType
fn default() -> TriggerTargetType
Returns the “default value” for a type. Read more
impl Eq for TriggerTargetType
Source§impl PartialEq for TriggerTargetType
impl PartialEq for TriggerTargetType
impl StructuralPartialEq for TriggerTargetType
Auto Trait Implementations§
impl Freeze for TriggerTargetType
impl RefUnwindSafe for TriggerTargetType
impl Send for TriggerTargetType
impl Sync for TriggerTargetType
impl Unpin for TriggerTargetType
impl UnsafeUnpin for TriggerTargetType
impl UnwindSafe for TriggerTargetType
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