pub struct Picture {
pub commands: Vec<DrawCommand>,
}Expand description
An immutable, ordered list of DrawCommands captured during one paint pass.
A Picture can be replayed many times (scrolling, animations) without calling
any widget’s paint() method again — this is the foundation of the cached
repaint model.
Fields§
§commands: Vec<DrawCommand>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Picture
impl RefUnwindSafe for Picture
impl Send for Picture
impl Sync for Picture
impl Unpin for Picture
impl UnsafeUnpin for Picture
impl UnwindSafe for Picture
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