Struct texel_types::SceneV2
source · pub struct SceneV2 {
pub objects: Vec<(Sprite, Position)>,
pub bookmarks: BTreeMap<usize, Position2D>,
}
Expand description
Current scene version == V2
§Contents
SceneV2 consists of a list of tuples each having:
- Sprite
- Position (for sprite) SceneV2 also consists of a list of:
- Position2D (for bookmarks)
Fields§
§objects: Vec<(Sprite, Position)>
§bookmarks: BTreeMap<usize, Position2D>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SceneV2
impl Send for SceneV2
impl Sync for SceneV2
impl Unpin for SceneV2
impl UnwindSafe for SceneV2
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