[][src]Struct rlbot::Touch

pub struct Touch {
    pub player_name: String,
    pub game_seconds: f32,
    pub location: Vector3,
    pub normal: Vector3,
    pub team: i32,
    // some fields omitted
}

Represents contact between a car and the ball.

Fields

player_name: String

The name of the player involved with the touch.

game_seconds: f32

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

location: Vector3

The point of contact for the touch.

normal: Vector3

The direction of the touch.

team: i32

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

Auto Trait Implementations

impl Send for Touch

impl Sync for Touch

Blanket Implementations

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> Same<T> for T

type Output = T

Should always be Self

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