[−][src]Struct fart::path::Path
A series of line commands that describe a path.
Fields
commands: Vec<LineCommand<T, U>>
This path's line commands.
Methods
impl<T, U> Path<T, U>
[src]
pub fn new() -> Path<T, U>
[src]
Construct a new, empty path.
pub fn with_commands<I>(commands: I) -> Path<T, U> where
I: IntoIterator<Item = LineCommand<T, U>>,
[src]
I: IntoIterator<Item = LineCommand<T, U>>,
Construct a new path with the given line commands.
Trait Implementations
impl<T: Default, U: Default> Default for Path<T, U>
[src]
impl<'a, T> From<&'a Path<T, SceneSpace>> for Path where
T: Copy + Debug + Into<Parameters>,
[src]
T: Copy + Debug + Into<Parameters>,
fn from(path: &'a Path<T, SceneSpace>) -> Path
[src]
impl<T: Clone, U: Clone> Clone for Path<T, U>
[src]
fn clone(&self) -> Path<T, U>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Debug, U: Debug> Debug for Path<T, U>
[src]
Auto Trait Implementations
impl<T, U> Send for Path<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for Path<T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,