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; 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 Forget for ItemPath
impl Freeze for ItemPath
impl Move for ItemPath
impl RefUnwindSafe for ItemPath
impl Send for ItemPathwhere
RawVecInner: Send,
impl Sync for ItemPathwhere
RawVecInner: Sync,
impl Unpin for ItemPath
impl UnsafeUnpin for ItemPathwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathEl>: UnsafeUnpin,
impl UnwindSafe for ItemPathwhere
RawVecInner: UnwindSafe,
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