pub enum EntPoint {
Free,
OnCircle(Expr<Circle>),
OnLine(Expr<Line>),
Bind(Expr<Point>),
}
Expand description
A point is either a bind or a free complex value.
Variants§
Free
A free, adjusted complex.
OnCircle(Expr<Circle>)
A single-value clip.
OnLine(Expr<Line>)
A single-value clip.
Bind(Expr<Point>)
A bind
Trait Implementations§
source§impl CloneWithNode for Point
impl CloneWithNode for Point
fn clone_with_node(&mut self) -> Self
fn clone_without_node(&self) -> Self
source§impl Definition for Point
impl Definition for Point
source§fn order(&self, context: &CompileContext) -> usize
fn order(&self, context: &CompileContext) -> usize
Get the complexity order (how much adjustment is done to this entity).
source§fn contains_entity(&self, entity: usize, context: &CompileContext) -> bool
fn contains_entity(&self, entity: usize, context: &CompileContext) -> bool
Check if the object contains an entity
Auto Trait Implementations§
impl !RefUnwindSafe for Point
impl !Send for Point
impl !Sync for Point
impl Unpin for Point
impl !UnwindSafe for Point
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
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more