pub struct VectorScene {
pub ops: Vec<VectorOp>,
pub bounds: IRect,
pub width: u32,
pub height: u32,
pub key: u128,
}Expand description
Everything a content tree draws at one time and size.
Fields§
§ops: Vec<VectorOp>The operations, back first.
bounds: IRectThe device pixels any of them can cover.
width: u32Width of the canvas it is drawn on.
height: u32Height of the canvas it is drawn on.
key: u128A key that changes with any of the above: equal keys draw equal pictures.
Implementations§
Trait Implementations§
Source§impl Clone for VectorScene
impl Clone for VectorScene
Source§impl Debug for VectorScene
impl Debug for VectorScene
Source§impl PartialEq for VectorScene
impl PartialEq for VectorScene
impl StructuralPartialEq for VectorScene
Auto Trait Implementations§
impl Freeze for VectorScene
impl RefUnwindSafe for VectorScene
impl Send for VectorScene
impl Sync for VectorScene
impl Unpin for VectorScene
impl UnsafeUnpin for VectorScene
impl UnwindSafe for VectorScene
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