[−][src]Struct descartes::EditArcLinePath
Methods
impl EditArcLinePath
[src]
pub fn new<V>(
corners: V,
strategy: ResolutionStrategy,
closed: Closedness
) -> Self where
V: Into<VecLike<Corner>>,
[src]
corners: V,
strategy: ResolutionStrategy,
closed: Closedness
) -> Self where
V: Into<VecLike<Corner>>,
impl EditArcLinePath
[src]
pub fn resolve(&self) -> (Option<ArcLinePath>, EditArcLinePath)
[src]
pub fn move_corner(&mut self, idx: usize, new_position: P2)
[src]
pub fn with_corner_moved(&self, idx: usize, new_position: P2) -> EditArcLinePath
[src]
pub fn direct_corner(
&mut self,
idx: usize,
new_direction: Option<V2>,
in_direction: bool
)
[src]
&mut self,
idx: usize,
new_direction: Option<V2>,
in_direction: bool
)
pub fn with_corner_directed(
&self,
idx: usize,
new_direction: Option<V2>,
in_direction: bool
) -> EditArcLinePath
[src]
&self,
idx: usize,
new_direction: Option<V2>,
in_direction: bool
) -> EditArcLinePath
pub fn add_corner(&mut self, add_to_end: bool, corner: Corner)
[src]
pub fn with_corner_added(
&self,
add_to_end: bool,
corner: Corner
) -> EditArcLinePath
[src]
&self,
add_to_end: bool,
corner: Corner
) -> EditArcLinePath
pub fn insert_corner(&mut self, corner: Corner) -> bool
[src]
pub fn with_corner_inserted(&self, corner: Corner) -> Option<EditArcLinePath>
[src]
pub fn subsection(&self, start: N, end: N) -> Option<EditArcLinePath>
[src]
Trait Implementations
impl Clone for EditArcLinePath
[src]
fn clone(&self) -> EditArcLinePath
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EditArcLinePath
[src]
Auto Trait Implementations
impl RefUnwindSafe for EditArcLinePath
impl Send for EditArcLinePath
impl Sync for EditArcLinePath
impl Unpin for EditArcLinePath
impl UnwindSafe for EditArcLinePath
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,