pub struct Frame<'a> {
pub uid: String,
pub obj: &'a mut Value,
}Expand description
Every entity has a Frame record stored in the format of: {}_frame.
The entity frame is designed to store data only required during modifications (rolling, unrolling, appending etc.)
This is done for efficiency consdirations. Frame data is almost never used during rendering, with some very rare exceptions.
Fields§
§uid: String§obj: &'a mut ValueImplementations§
Auto Trait Implementations§
impl<'a> Freeze for Frame<'a>
impl<'a> RefUnwindSafe for Frame<'a>
impl<'a> Send for Frame<'a>
impl<'a> Sync for Frame<'a>
impl<'a> Unpin for Frame<'a>
impl<'a> !UnwindSafe for Frame<'a>
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