[][src]Struct rlbot::flat::Rotator

#[repr(C)]
pub struct Rotator { /* fields omitted */ }

Expresses the rotation state of an object in Euler angles, with values in radians.

Methods

impl Rotator[src]

pub fn new<'a>(_pitch: f32, _yaw: f32, _roll: f32) -> Self[src]

pub fn pitch<'a>(&'a self) -> f32[src]

pub fn yaw<'a>(&'a self) -> f32[src]

pub fn roll<'a>(&'a self) -> f32[src]

Trait Implementations

impl Clone for Rotator[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Rotator> for Rotator[src]

impl Copy for Rotator[src]

impl Debug for Rotator[src]

impl<'b> Push for Rotator[src]

type Output = Rotator

fn size() -> usize[src]

fn alignment() -> PushAlignment[src]

impl<'b> Push for &'b Rotator[src]

type Output = Rotator

fn size() -> usize[src]

fn alignment() -> PushAlignment[src]

impl SafeSliceAccess for Rotator[src]

impl<'a> Follow<'a> for Rotator[src]

type Inner = &'a Rotator

impl<'a> Follow<'a> for &'a Rotator[src]

type Inner = &'a Rotator

Auto Trait Implementations

impl Send for Rotator

impl Sync for Rotator

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,