pub enum EdgeSource {
Line,
RectTop,
RectBottom,
RectLeft,
RectRight,
Curve,
Stream,
Explicit,
}Expand description
Source of an edge, tracking which geometric primitive it came from.
Variants§
Line
Derived directly from a Line object.
RectTop
Top edge of a Rect.
RectBottom
Bottom edge of a Rect.
RectLeft
Left edge of a Rect.
RectRight
Right edge of a Rect.
Curve
Approximated from a Curve (chord from start to end).
Stream
Synthetic edge generated from text alignment patterns (Stream strategy).
Explicit
User-provided explicit line coordinate (Explicit strategy).
Trait Implementations§
Source§impl Clone for EdgeSource
impl Clone for EdgeSource
Source§fn clone(&self) -> EdgeSource
fn clone(&self) -> EdgeSource
Returns a duplicate of the value. Read more
1.0.0 · 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 EdgeSource
impl Debug for EdgeSource
Source§impl PartialEq for EdgeSource
impl PartialEq for EdgeSource
impl Copy for EdgeSource
impl Eq for EdgeSource
impl StructuralPartialEq for EdgeSource
Auto Trait Implementations§
impl Freeze for EdgeSource
impl RefUnwindSafe for EdgeSource
impl Send for EdgeSource
impl Sync for EdgeSource
impl Unpin for EdgeSource
impl UnsafeUnpin for EdgeSource
impl UnwindSafe for EdgeSource
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