pub struct OnPlayerRotatedEntity;Expand description
Called when the player rotates an entity. This event is only fired when the entity actually changes its orientation – pressing the rotate key on an entity that can’t be rotated won’t fire this event.
Entities being flipped will not fire this event, even if the flip involves rotating. See on_player_flipped_entity.
Implementations§
Trait Implementations§
Source§impl Clone for OnPlayerRotatedEntity
impl Clone for OnPlayerRotatedEntity
Source§fn clone(&self) -> OnPlayerRotatedEntity
fn clone(&self) -> OnPlayerRotatedEntity
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 OnPlayerRotatedEntity
Source§impl Debug for OnPlayerRotatedEntity
impl Debug for OnPlayerRotatedEntity
impl Eq for OnPlayerRotatedEntity
Source§impl PartialEq for OnPlayerRotatedEntity
impl PartialEq for OnPlayerRotatedEntity
impl StructuralPartialEq for OnPlayerRotatedEntity
Auto Trait Implementations§
impl Freeze for OnPlayerRotatedEntity
impl RefUnwindSafe for OnPlayerRotatedEntity
impl Send for OnPlayerRotatedEntity
impl Sync for OnPlayerRotatedEntity
impl Unpin for OnPlayerRotatedEntity
impl UnsafeUnpin for OnPlayerRotatedEntity
impl UnwindSafe for OnPlayerRotatedEntity
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