pub struct VectorLeaf<'a> {
pub item: &'a VectorItem,
pub transform: Transform,
pub opacity: f64,
pub source: Option<Range<usize>>,
pub address: Vec<usize>,
/* private fields */
}Expand description
A leaf occurrence with complete world coordinates and inherited metadata.
Fields§
§item: &'a VectorItemPath/image occurrence, not a copied geometry.
transform: TransformLocal-to-tree coordinates.
opacity: f64Product of ancestor group opacities.
source: Option<Range<usize>>Nearest source interval; None uses paint order as reading order.
address: Vec<usize>Child indices starting at the root group.
Trait Implementations§
Source§impl<'a> Clone for VectorLeaf<'a>
impl<'a> Clone for VectorLeaf<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for VectorLeaf<'a>
impl<'a> !UnwindSafe for VectorLeaf<'a>
impl<'a> Forget for VectorLeaf<'a>
impl<'a> Freeze for VectorLeaf<'a>
impl<'a> Send for VectorLeaf<'a>
impl<'a> Sync for VectorLeaf<'a>
impl<'a> Unpin for VectorLeaf<'a>
impl<'a> UnsafeUnpin for VectorLeaf<'a>
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