pub struct PathDataRef<'a> {
pub strips: &'a [Strip],
pub alphas: &'a [u8],
pub bbox: RectU16,
}Expand description
Borrowed data of a stripped path.
Fields§
§strips: &'a [Strip]The strips.
alphas: &'a [u8]The alpha buffer.
bbox: RectU16A tile-aligned coarse bounding box of the clip path in pixel coordinates.
These bounds have already been intersected with the viewport.
Trait Implementations§
Source§impl<'a> Clone for PathDataRef<'a>
impl<'a> Clone for PathDataRef<'a>
Source§fn clone(&self) -> PathDataRef<'a>
fn clone(&self) -> PathDataRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for PathDataRef<'a>
impl<'a> Debug for PathDataRef<'a>
impl<'a> Copy for PathDataRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for PathDataRef<'a>
impl<'a> RefUnwindSafe for PathDataRef<'a>
impl<'a> Send for PathDataRef<'a>
impl<'a> Sync for PathDataRef<'a>
impl<'a> Unpin for PathDataRef<'a>
impl<'a> UnsafeUnpin for PathDataRef<'a>
impl<'a> UnwindSafe for PathDataRef<'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