[][src]Struct rlbot::flat::RenderMessage

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

Fields

_tab: Table<'a>

Methods

impl<'a> RenderMessage<'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 RenderMessageArgs<'args>
) -> WIPOffset<RenderMessage<'bldr>>
[src]

pub const VT_RENDERTYPE: VOffsetT[src]

pub const VT_COLOR: VOffsetT[src]

pub const VT_START: VOffsetT[src]

pub const VT_END: VOffsetT[src]

pub const VT_SCALEX: VOffsetT[src]

pub const VT_SCALEY: VOffsetT[src]

pub const VT_TEXT: VOffsetT[src]

pub const VT_ISFILLED: VOffsetT[src]

pub fn renderType(&self) -> RenderType[src]

pub fn color(&self) -> Option<Color<'a>>[src]

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

For 2d renders this only grabs x and y

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

For 2d renders this only grabs x and y

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

Scales the x size of the text/rectangle, is used for rectangles assuming an initial value of 1

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

Scales the y size of the text/rectangle, is used for rectangles assuming an initial value of 1

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

pub fn isFilled(&self) -> bool[src]

Rectangles can be filled or just outlines.

Trait Implementations

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

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

Performs copy-assignment from source. Read more

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

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

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

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

type Inner = RenderMessage<'a>

Auto Trait Implementations

impl<'a> Send for RenderMessage<'a>

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