[][src]Struct lf2_parse::FrameNumberNext

pub struct FrameNumberNext(pub isize);

Represents the next frame number to go to.

This uses an isize as a negative number indicates the object's facing direction should be flipped.

Implementations

impl FrameNumberNext[src]

pub fn abs(self) -> FrameNumber[src]

Returns a positive FrameNumber.

pub fn facing_switch(self) -> bool[src]

Returns true if the object's facing direction should change.

Trait Implementations

impl Clone for FrameNumberNext[src]

impl Copy for FrameNumberNext[src]

impl Debug for FrameNumberNext[src]

impl Default for FrameNumberNext[src]

impl Deref for FrameNumberNext[src]

type Target = isize

The resulting type after dereferencing.

impl DerefMut for FrameNumberNext[src]

impl Display for FrameNumberNext[src]

impl Eq for FrameNumberNext[src]

impl FromStr for FrameNumberNext[src]

type Err = ParseIntError

The associated error which can be returned from parsing.

impl PartialEq<FrameNumberNext> for FrameNumberNext[src]

impl StructuralEq for FrameNumberNext[src]

impl StructuralPartialEq for FrameNumberNext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.