pub struct OnBuildBaseArrivedEvent {
pub group: LuaCommandable,
pub name: &'static str,
pub tick: u32,
pub unit: LuaEntity,
}Expand description
Called when a defines.command.build_base command reaches its destination, and before building starts.
Fields§
§group: LuaCommandable§name: &'static str§tick: u32§unit: LuaEntityTrait Implementations§
Source§impl Clone for OnBuildBaseArrivedEvent
impl Clone for OnBuildBaseArrivedEvent
Source§fn clone(&self) -> OnBuildBaseArrivedEvent
fn clone(&self) -> OnBuildBaseArrivedEvent
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 OnBuildBaseArrivedEvent
Source§impl Debug for OnBuildBaseArrivedEvent
impl Debug for OnBuildBaseArrivedEvent
Source§impl Default for OnBuildBaseArrivedEvent
impl Default for OnBuildBaseArrivedEvent
Source§fn default() -> OnBuildBaseArrivedEvent
fn default() -> OnBuildBaseArrivedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnBuildBaseArrivedEvent
impl PartialEq for OnBuildBaseArrivedEvent
impl StructuralPartialEq for OnBuildBaseArrivedEvent
Auto Trait Implementations§
impl Freeze for OnBuildBaseArrivedEvent
impl RefUnwindSafe for OnBuildBaseArrivedEvent
impl Send for OnBuildBaseArrivedEvent
impl Sync for OnBuildBaseArrivedEvent
impl Unpin for OnBuildBaseArrivedEvent
impl UnsafeUnpin for OnBuildBaseArrivedEvent
impl UnwindSafe for OnBuildBaseArrivedEvent
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