[−][src]Struct lf2_parse::FrameNumberNext
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]
fn clone(&self) -> FrameNumberNext
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FrameNumberNext
[src]
impl Debug for FrameNumberNext
[src]
impl Default for FrameNumberNext
[src]
fn default() -> FrameNumberNext
[src]
impl Deref for FrameNumberNext
[src]
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.
fn from_str(s: &str) -> Result<FrameNumberNext, ParseIntError>
[src]
impl PartialEq<FrameNumberNext> for FrameNumberNext
[src]
fn eq(&self, other: &FrameNumberNext) -> bool
[src]
fn ne(&self, other: &FrameNumberNext) -> bool
[src]
impl StructuralEq for FrameNumberNext
[src]
impl StructuralPartialEq for FrameNumberNext
[src]
Auto Trait Implementations
impl RefUnwindSafe for FrameNumberNext
impl Send for FrameNumberNext
impl Sync for FrameNumberNext
impl Unpin for FrameNumberNext
impl UnwindSafe for FrameNumberNext
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,