pub enum EdgeRouteKind {
Straight,
Orthogonal,
Bezier,
SmoothStep,
}Expand description
Route-style hint for adapter-owned edge drawing.
Variants§
Straight
Direct line between resolved endpoints.
Orthogonal
Orthogonal/polyline route with right-angle legs.
Bezier
Cubic bezier route using endpoint sides as curvature hints.
SmoothStep
XyFlow-style smooth-step route.
Trait Implementations§
Source§impl Clone for EdgeRouteKind
impl Clone for EdgeRouteKind
Source§fn clone(&self) -> EdgeRouteKind
fn clone(&self) -> EdgeRouteKind
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 moreimpl Copy for EdgeRouteKind
Source§impl Debug for EdgeRouteKind
impl Debug for EdgeRouteKind
Source§impl<'de> Deserialize<'de> for EdgeRouteKind
impl<'de> Deserialize<'de> for EdgeRouteKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EdgeRouteKind
Source§impl Hash for EdgeRouteKind
impl Hash for EdgeRouteKind
Source§impl PartialEq for EdgeRouteKind
impl PartialEq for EdgeRouteKind
Source§fn eq(&self, other: &EdgeRouteKind) -> bool
fn eq(&self, other: &EdgeRouteKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EdgeRouteKind
impl Serialize for EdgeRouteKind
impl StructuralPartialEq for EdgeRouteKind
Auto Trait Implementations§
impl Freeze for EdgeRouteKind
impl RefUnwindSafe for EdgeRouteKind
impl Send for EdgeRouteKind
impl Sync for EdgeRouteKind
impl Unpin for EdgeRouteKind
impl UnsafeUnpin for EdgeRouteKind
impl UnwindSafe for EdgeRouteKind
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