Enum texel_types::Scene
source · pub enum Scene {
V1(SceneV1),
V2(SceneV2),
}
Expand description
Scene is the final serialization artifact for texel_types. As such it needs to be versioned explicitly so it can be known which version of the serialized scene we’re deserializing from files. This enum wrapper will hold any version of the scene object to provide forward compatibility.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnwindSafe for Scene
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