pub struct OnEntityColorChanged;Expand description
Called after an entity has been recolored either by the player or through script.
Automatic recoloring due to LuaPlayer::color will not raise events, as that is a separate mechanism.
Implementations§
Trait Implementations§
Source§impl Clone for OnEntityColorChanged
impl Clone for OnEntityColorChanged
Source§fn clone(&self) -> OnEntityColorChanged
fn clone(&self) -> OnEntityColorChanged
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 OnEntityColorChanged
Source§impl Debug for OnEntityColorChanged
impl Debug for OnEntityColorChanged
impl Eq for OnEntityColorChanged
Source§impl PartialEq for OnEntityColorChanged
impl PartialEq for OnEntityColorChanged
impl StructuralPartialEq for OnEntityColorChanged
Auto Trait Implementations§
impl Freeze for OnEntityColorChanged
impl RefUnwindSafe for OnEntityColorChanged
impl Send for OnEntityColorChanged
impl Sync for OnEntityColorChanged
impl Unpin for OnEntityColorChanged
impl UnsafeUnpin for OnEntityColorChanged
impl UnwindSafe for OnEntityColorChanged
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