Struct texel_types::SceneV1
source · pub struct SceneV1 {
pub objects: Vec<(SpriteV1, Position, bool)>,
}
Expand description
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§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more