[][src]Struct rlbot::flat::Touch

pub struct Touch<'a> {
    pub _tab: Table<'a>,
}

Fields

_tab: Table<'a>

Methods

impl<'a> Touch<'a>[src]

pub fn init_from_table(table: Table<'a>) -> Self[src]

pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
    _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
    args: &'args TouchArgs<'args>
) -> WIPOffset<Touch<'bldr>>
[src]

pub const VT_PLAYERNAME: VOffsetT[src]

pub const VT_GAMESECONDS: VOffsetT[src]

pub const VT_LOCATION: VOffsetT[src]

pub const VT_NORMAL: VOffsetT[src]

pub const VT_TEAM: VOffsetT[src]

pub fn playerName(&self) -> Option<&'a str>[src]

The name of the player involved with the touch.

pub fn gameSeconds(&self) -> f32[src]

Seconds that had elapsed in the game when the touch occurred.

pub fn location(&self) -> Option<&'a Vector3>[src]

The point of contact for the touch.

pub fn normal(&self) -> Option<&'a Vector3>[src]

The direction of the touch.

pub fn team(&self) -> i32[src]

The Team which the touch belongs to, 0 for blue 1 for orange.

Trait Implementations

impl<'a> PartialEq<Touch<'a>> for Touch<'a>[src]

impl<'a> Copy for Touch<'a>[src]

impl<'a> Clone for Touch<'a>[src]

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

Performs copy-assignment from source. Read more

impl<'a> Debug for Touch<'a>[src]

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

type Inner = Touch<'a>

Auto Trait Implementations

impl<'a> Send for Touch<'a>

impl<'a> Sync for Touch<'a>

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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>,