[−][src]Struct lf2_parse::OPoint
Spawns an object during a game.
See https://lf-empire.de/lf2-empire/data-changing/frame-elements/178-opoint-object-point
Fields
kind: OPointKind
Object spawning variants.
x: i32
X coordinate.
y: i32
Y coordinate.
action: FrameNumberNext
Frame number that the spawned object starts with.
d_vx: i64
Initial acceleration on the X axis.
Positive value moves forward in the direction the spawned object is
facing. See OPoint::facing
.
d_vy: i64
Initial acceleration on the Y axis.
Positive value is downwards.
object_id: ObjectId
ID of the object to spawn.
facing: OPointFacing
Number of objects to spawn, and their facing direction.
Trait Implementations
impl Clone for OPoint
[src]
impl Copy for OPoint
[src]
impl Debug for OPoint
[src]
impl Default for OPoint
[src]
impl Eq for OPoint
[src]
impl PartialEq<OPoint> for OPoint
[src]
impl StructuralEq for OPoint
[src]
impl StructuralPartialEq for OPoint
[src]
impl<'i> TryFrom<Pair<'i, Rule>> for OPoint
[src]
Auto Trait Implementations
impl RefUnwindSafe for OPoint
impl Send for OPoint
impl Sync for OPoint
impl Unpin for OPoint
impl UnwindSafe for OPoint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> 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>,