Struct rutabaga_gfx::rutabaga_core::RutabagaSnapshot
source · pub struct RutabagaSnapshot {
pub resources: BTreeMap<u32, RutabagaResourceSnapshot>,
}
Expand description
The serialized and deserialized parts of Rutabaga
that are preserved across
snapshot() and restore().
Fields§
§resources: BTreeMap<u32, RutabagaResourceSnapshot>
Trait Implementations§
source§impl<'de> Deserialize<'de> for RutabagaSnapshot
impl<'de> Deserialize<'de> for RutabagaSnapshot
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RutabagaSnapshot
impl Send for RutabagaSnapshot
impl Sync for RutabagaSnapshot
impl Unpin for RutabagaSnapshot
impl UnwindSafe for RutabagaSnapshot
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