pub struct OnPlayerFlippedEntity;Expand description
Called when the player flips an entity. This event is only fired when the entity actually changes its orientation or mirroring, so it won’t be triggered when pressing the flip keys on an entity that can’t be flipped.
This event reflects a change in the LuaEntity::mirroring property.
Implementations§
Trait Implementations§
Source§impl Clone for OnPlayerFlippedEntity
impl Clone for OnPlayerFlippedEntity
Source§fn clone(&self) -> OnPlayerFlippedEntity
fn clone(&self) -> OnPlayerFlippedEntity
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 OnPlayerFlippedEntity
Source§impl Debug for OnPlayerFlippedEntity
impl Debug for OnPlayerFlippedEntity
impl Eq for OnPlayerFlippedEntity
Source§impl PartialEq for OnPlayerFlippedEntity
impl PartialEq for OnPlayerFlippedEntity
impl StructuralPartialEq for OnPlayerFlippedEntity
Auto Trait Implementations§
impl Freeze for OnPlayerFlippedEntity
impl RefUnwindSafe for OnPlayerFlippedEntity
impl Send for OnPlayerFlippedEntity
impl Sync for OnPlayerFlippedEntity
impl Unpin for OnPlayerFlippedEntity
impl UnsafeUnpin for OnPlayerFlippedEntity
impl UnwindSafe for OnPlayerFlippedEntity
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