[−][src]Struct lyon_path::PathState
Represents the current state of a path while it is being built.
Fields
current: PointThe current point.
first: PointThe first point of the current sub-path.
last_ctrl: PointThe last control point.
Methods
impl PathState[src]
impl PathState[src]
pub fn svg_event(&mut self, event: SvgEvent)[src]
pub fn path_event(&mut self, event: PathEvent)[src]
pub fn flattened_event(&mut self, event: FlattenedEvent)[src]
pub fn move_to(&mut self, to: Point)[src]
pub fn line_to(&mut self, to: Point)[src]
pub fn curve_to(&mut self, ctrl: Point, to: Point)[src]
pub fn close(&mut self)[src]
pub fn next(&mut self, to: Point)[src]
pub fn relative_next(&mut self, to: Vector)[src]
pub fn get_smooth_ctrl(&self) -> Point[src]
pub fn relative_to_absolute(&self, v: Vector) -> Point[src]
pub fn svg_to_path_event(&self, event: SvgEvent) -> PathEvent[src]
Auto Trait Implementations
impl Unpin for PathState
impl Sync for PathState
impl Send for PathState
impl UnwindSafe for PathState
impl RefUnwindSafe for PathState
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,