[][src]Struct rlbot::flat::Color

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

Fields

_tab: Table<'a>

Methods

impl<'a> Color<'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 ColorArgs
) -> WIPOffset<Color<'bldr>>
[src]

pub const VT_A: VOffsetT[src]

pub const VT_R: VOffsetT[src]

pub const VT_G: VOffsetT[src]

pub const VT_B: VOffsetT[src]

pub fn a(&self) -> u8[src]

pub fn r(&self) -> u8[src]

pub fn g(&self) -> u8[src]

pub fn b(&self) -> u8[src]

Trait Implementations

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

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

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

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

Performs copy-assignment from source. Read more

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

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

type Inner = Color<'a>

Auto Trait Implementations

impl<'a> Send for Color<'a>

impl<'a> Sync for Color<'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>,