pub struct Position {
pub x: PrimitiveArray<f32>,
pub y: PrimitiveArray<f32>,
pub validity: Option<Bitmap>,
}
Expand description
2D position.
Fields§
§x: PrimitiveArray<f32>
§y: PrimitiveArray<f32>
§validity: Option<Bitmap>
Indicates which indexes are valid (None
means “all valid”). Invalid indexes can occur on frames where a character is absent (ICs or 2v2 games)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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