[−][src]Struct rlbot::flat::RenderMessage
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]
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args RenderMessageArgs<'args>
) -> WIPOffset<RenderMessage<'bldr>>
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(&self) -> 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]
fn eq(&self, other: &RenderMessage<'a>) -> bool
[src]
fn ne(&self, other: &RenderMessage<'a>) -> bool
[src]
impl<'a> Copy for RenderMessage<'a>
[src]
impl<'a> Debug for RenderMessage<'a>
[src]
impl<'a> Follow<'a> for RenderMessage<'a>
[src]
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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,