pub struct LuaEntityRotateParams {
pub by_player: LuaAny,
pub reverse: bool,
}Expand description
Rotates this entity as if the player rotated it.
Fields§
§by_player: LuaAny§reverse: boolIf true, rotate the entity in the counter-clockwise direction.
Trait Implementations§
Source§impl Clone for LuaEntityRotateParams
impl Clone for LuaEntityRotateParams
Source§fn clone(&self) -> LuaEntityRotateParams
fn clone(&self) -> LuaEntityRotateParams
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 moreSource§impl Debug for LuaEntityRotateParams
impl Debug for LuaEntityRotateParams
Source§impl Default for LuaEntityRotateParams
impl Default for LuaEntityRotateParams
Source§fn default() -> LuaEntityRotateParams
fn default() -> LuaEntityRotateParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaEntityRotateParams
impl RefUnwindSafe for LuaEntityRotateParams
impl Send for LuaEntityRotateParams
impl Sync for LuaEntityRotateParams
impl Unpin for LuaEntityRotateParams
impl UnsafeUnpin for LuaEntityRotateParams
impl UnwindSafe for LuaEntityRotateParams
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