pub struct EdgePath {
pub offset: f32,
pub curvature: f32,
pub source: (Vec2, EdgeAnchor),
pub target: (Vec2, EdgeAnchor),
pub edge_type: EdgeType,
}Expand description
Generates an edge path.
Fields§
§offset: f32§curvature: f32§source: (Vec2, EdgeAnchor)§target: (Vec2, EdgeAnchor)§edge_type: EdgeTypeImplementations§
Trait Implementations§
Source§impl From<EdgePath> for Connection
impl From<EdgePath> for Connection
impl Copy for EdgePath
impl StructuralPartialEq for EdgePath
Auto Trait Implementations§
impl Freeze for EdgePath
impl RefUnwindSafe for EdgePath
impl Send for EdgePath
impl Sync for EdgePath
impl Unpin for EdgePath
impl UnwindSafe for EdgePath
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