[][src]Struct rlbot::Vector3Partial

pub struct Vector3Partial {
    pub x: Option<f32>,
    pub y: Option<f32>,
    pub z: Option<f32>,
    // some fields omitted
}

Represents a vector in 3D space.

Fields

x: Option<f32>

The X coordinate.

y: Option<f32>

The Y coordinate.

z: Option<f32>

The Z coordinate.

Methods

impl Vector3Partial[src]

pub fn new() -> Self[src]

Construts a new Vector3Partial.

pub fn x(self, x: f32) -> Self[src]

Sets the X coordinate.

pub fn y(self, y: f32) -> Self[src]

Sets the Y coordinate.

pub fn z(self, z: f32) -> Self[src]

Sets the Z coordinate.

Trait Implementations

impl Clone for Vector3Partial[src]

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

Performs copy-assignment from source. Read more

impl Default for Vector3Partial[src]

Auto Trait Implementations

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

type Output = T

Should always be Self

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