[][src]Struct texel_types::SceneV1

pub struct SceneV1 {
    pub objects: Vec<(SpriteV1, Position, bool)>,
}

Previous scene version == V1

Contents

SceneV1 consists of a list of tuples each having:

  • SpriteV1
  • Position
  • bool (selected indicator) -- DEPRECATED!

WARNING

The selected indicator boolean will get removed in V2 as the only "lossy" change of the Scene format. Leaving this in SceneV1 definition was a mistake during initial refactoring.

Fields

objects: Vec<(SpriteV1, Position, bool)>

Trait Implementations

impl Clone for SceneV1[src]

impl Debug for SceneV1[src]

impl Default for SceneV1[src]

impl From<SceneV1> for SceneV2[src]

Auto Trait Implementations

impl RefUnwindSafe for SceneV1

impl Send for SceneV1

impl Sync for SceneV1

impl Unpin for SceneV1

impl UnwindSafe for SceneV1

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.