Struct Shake
pub struct Shake {
pub pitch: f32,
pub yaw: f32,
pub roll: f32,
pub offset: [f32; 3],
}Expand description
The camera shake native mods ask for (native_camera_shake): turns in
degrees, and an offset in blocks along the camera’s right, up and back.
Fields§
§pitch: f32§yaw: f32§roll: f32§offset: [f32; 3]Trait Implementations§
impl Copy for Shake
impl StructuralPartialEq for Shake
Auto Trait Implementations§
impl Freeze for Shake
impl RefUnwindSafe for Shake
impl Send for Shake
impl Sync for Shake
impl Unpin for Shake
impl UnsafeUnpin for Shake
impl UnwindSafe for Shake
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