[][src]Struct genie_scx::VictoryConditions

pub struct VictoryConditions {
    pub version: f32,
    pub total_points: i32,
    pub starting_points: i32,
    pub starting_group: i32,
    pub entries: Vec<VictoryEntry>,
    pub point_entries: Vec<VictoryPointEntry>,
    // some fields omitted
}

Fields

version: f32total_points: i32starting_points: i32starting_group: i32entries: Vec<VictoryEntry>point_entries: Vec<VictoryPointEntry>

Implementations

impl VictoryConditions[src]

pub fn from<R: Read>(input: &mut R, has_version: bool) -> Result<Self>[src]

👎 Deprecated:

Use VictoryConditions::read_from instead

pub fn read_from(input: impl Read, has_version: bool) -> Result<Self>[src]

pub fn write_to(&self, output: impl Write, version: Option<f32>) -> Result<()>[src]

Trait Implementations

impl Clone for VictoryConditions[src]

impl Debug for VictoryConditions[src]

impl Default for VictoryConditions[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, 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.