pub struct BundledEdge {
pub from: usize,
pub to: usize,
pub path: Vec<P2>,
}Expand description
One bundled edge: its endpoints + the subdivided control polyline (endpoints
included, so path.len() == subdivisions + 2). Feed path to a spline painter.
Fields§
§from: usize§to: usize§path: Vec<P2>Trait Implementations§
Source§impl Clone for BundledEdge
impl Clone for BundledEdge
Source§fn clone(&self) -> BundledEdge
fn clone(&self) -> BundledEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BundledEdge
impl Debug for BundledEdge
Source§impl PartialEq for BundledEdge
impl PartialEq for BundledEdge
impl StructuralPartialEq for BundledEdge
Auto Trait Implementations§
impl Freeze for BundledEdge
impl RefUnwindSafe for BundledEdge
impl Send for BundledEdge
impl Sync for BundledEdge
impl Unpin for BundledEdge
impl UnsafeUnpin for BundledEdge
impl UnwindSafe for BundledEdge
Blanket Implementations§
impl<T> Allocation for T
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