pub struct EdgeRouteFacts {
pub kind: ResolvedEdgeRouteKind,
pub endpoints: EdgePosition,
pub path: EdgePath,
pub label_anchor: EdgeLabelAnchor,
pub hit_test: EdgeHitTestOptions,
pub interaction: EdgeInteractionFacts,
}Expand description
Renderer-neutral route and interaction facts for one edge.
Fields§
§kind: ResolvedEdgeRouteKind§endpoints: EdgePosition§path: EdgePath§label_anchor: EdgeLabelAnchor§hit_test: EdgeHitTestOptions§interaction: EdgeInteractionFactsImplementations§
Source§impl EdgeRouteFacts
impl EdgeRouteFacts
pub fn with_hit_test(self, hit_test: EdgeHitTestOptions) -> Self
pub fn with_interaction(self, interaction: EdgeInteractionFacts) -> Self
pub fn contains_point(&self, point: CanvasPoint) -> bool
Trait Implementations§
Source§impl Clone for EdgeRouteFacts
impl Clone for EdgeRouteFacts
Source§fn clone(&self) -> EdgeRouteFacts
fn clone(&self) -> EdgeRouteFacts
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 EdgeRouteFacts
impl Debug for EdgeRouteFacts
Source§impl PartialEq for EdgeRouteFacts
impl PartialEq for EdgeRouteFacts
Source§fn eq(&self, other: &EdgeRouteFacts) -> bool
fn eq(&self, other: &EdgeRouteFacts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EdgeRouteFacts
Auto Trait Implementations§
impl Freeze for EdgeRouteFacts
impl RefUnwindSafe for EdgeRouteFacts
impl Send for EdgeRouteFacts
impl Sync for EdgeRouteFacts
impl Unpin for EdgeRouteFacts
impl UnsafeUnpin for EdgeRouteFacts
impl UnwindSafe for EdgeRouteFacts
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