pub struct Path { /* private fields */ }Expand description
Path is designed for use inside Canvas closures where you control absolute coordinates. It does not implement LayoutItem because its path data uses absolute points, not relative to a layout rect. To use Path in a layout context, embed it in a Canvas widget.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Path
impl !Send for Path
impl !Sync for Path
impl !UnwindSafe for Path
impl Freeze for Path
impl Unpin for Path
impl UnsafeUnpin for Path
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