pub enum EvaluatedItem {
Group {
items: Arc<[EvaluatedItem]>,
transform: EvaluatedTransform,
},
Geometry(EvaluatedGeometry),
Fill {
paint: Paint,
opacity: f64,
rule: FillRule,
},
Stroke {
paint: Paint,
width: f64,
opacity: f64,
join: LineJoin,
miter_limit: f64,
cap: LineCap,
dash: Vec<f64>,
dash_offset: f64,
},
Trim {
start: f64,
end: f64,
offset: f64,
mode: TrimMode,
},
}Expand description
One content-tree item evaluated at one time.
Variants§
Group
Items drawn through one transform and opacity.
Fields
§
items: Arc<[EvaluatedItem]>The items, front first. Shared, so a subtree that does not change over time is evaluated once.
§
transform: EvaluatedTransformThe group’s transform.
Geometry(EvaluatedGeometry)
Geometry.
Fill
A fill of the geometry before it.
Fields
Stroke
A stroke of the geometry before it.
Fields
Trim
A trim of the geometry before it.
Trait Implementations§
Source§impl Clone for EvaluatedItem
impl Clone for EvaluatedItem
Source§impl Debug for EvaluatedItem
impl Debug for EvaluatedItem
Source§impl PartialEq for EvaluatedItem
impl PartialEq for EvaluatedItem
impl StructuralPartialEq for EvaluatedItem
Auto Trait Implementations§
impl Freeze for EvaluatedItem
impl RefUnwindSafe for EvaluatedItem
impl Send for EvaluatedItem
impl Sync for EvaluatedItem
impl Unpin for EvaluatedItem
impl UnsafeUnpin for EvaluatedItem
impl UnwindSafe for EvaluatedItem
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