pub struct BallInfo<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> BallInfo<'a>
impl<'a> BallInfo<'a>
pub const VT_PHYSICS: VOffsetT = 4i16
pub const VT_LATESTTOUCH: VOffsetT = 6i16
pub const VT_DROPSHOTINFO: VOffsetT = 8i16
pub fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>, args: &'args BallInfoArgs<'args>, ) -> WIPOffset<BallInfo<'bldr>>
pub fn physics(&self) -> Option<Physics<'a>>
pub fn latestTouch(&self) -> Option<Touch<'a>>
pub fn dropShotInfo(&self) -> Option<DropShotBallInfo<'a>>
Trait Implementations§
impl<'a> Copy for BallInfo<'a>
impl<'a> StructuralPartialEq for BallInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for BallInfo<'a>
impl<'a> RefUnwindSafe for BallInfo<'a>
impl<'a> Send for BallInfo<'a>
impl<'a> Sync for BallInfo<'a>
impl<'a> Unpin for BallInfo<'a>
impl<'a> UnwindSafe for BallInfo<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.