pub struct PointerOrientation {
pub altitude: f32,
pub azimuth: f32,
}Expand description
Orientation of a pointer.
Fields§
§altitude: f32Spherical altitude.
0 is parallel to the surface, π/2 is perpendicular.
azimuth: f32Spherical azimuth.
0 is the positive x axis, π/2 is positive y.
Trait Implementations§
Source§impl Clone for PointerOrientation
impl Clone for PointerOrientation
Source§fn clone(&self) -> PointerOrientation
fn clone(&self) -> PointerOrientation
Returns a duplicate of the value. Read more
1.0.0 · 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 PointerOrientation
impl Debug for PointerOrientation
Source§impl Default for PointerOrientation
impl Default for PointerOrientation
Source§impl PartialEq for PointerOrientation
impl PartialEq for PointerOrientation
impl Copy for PointerOrientation
impl StructuralPartialEq for PointerOrientation
Auto Trait Implementations§
impl Freeze for PointerOrientation
impl RefUnwindSafe for PointerOrientation
impl Send for PointerOrientation
impl Sync for PointerOrientation
impl Unpin for PointerOrientation
impl UnwindSafe for PointerOrientation
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