pub struct ItemPath {
pub at: String,
pub path: BezPath,
pub rule: FillRule,
pub paint: bool,
pub bounds: Rect,
}Expand description
What item_paths reports of one item.
Fields§
§at: StringThe item’s place in the tree, like items[0].items[2].
path: BezPathWhat it covers in device pixels: geometry’s outline, a fill’s area, a stroke’s outline; empty for a group. Trims are not recorded.
rule: FillRuleHow path is filled.
paint: boolWhether it is paint (a fill or a stroke) rather than geometry.
bounds: RectThe device pixels it reaches; a group’s is its items’.
Trait Implementations§
impl StructuralPartialEq for ItemPath
Auto Trait Implementations§
impl Freeze for ItemPath
impl RefUnwindSafe for ItemPath
impl Send for ItemPath
impl Sync for ItemPath
impl Unpin for ItemPath
impl UnsafeUnpin for ItemPath
impl UnwindSafe for ItemPath
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