pub struct Path { /* private fields */ }Implementations§
Trait Implementations§
Source§impl From<&(Coord2, Vec<(Coord2, Coord2, Coord2)>)> for Path
impl From<&(Coord2, Vec<(Coord2, Coord2, Coord2)>)> for Path
Source§fn from(value: &SimpleBezierPath) -> Self
fn from(value: &SimpleBezierPath) -> Self
Converts to this type from the input type.
Source§impl From<&Path> for SimpleBezierPath
impl From<&Path> for SimpleBezierPath
Source§fn from(path: &Path) -> SimpleBezierPath
fn from(path: &Path) -> SimpleBezierPath
Converts to this type from the input type.
Source§impl<'a> IntoIterator for &'a Path
为我们自己的 Path 类型的引用实现 IntoIterator trait。
这使得可以直接在 for 循环中使用 &Path。
impl<'a> IntoIterator for &'a Path
为我们自己的 Path 类型的引用实现 IntoIterator trait。
这使得可以直接在 for 循环中使用 &Path。
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more