pub enum Point {
Generic(Generic<Self>),
Entity(usize),
Average(Vec<Expr<Point>>),
LineLineIntersection(Expr<Line>, Expr<Line>),
CircleCenter(Expr<Circle>),
}
Variants§
Generic(Generic<Self>)
Entity(usize)
Average(Vec<Expr<Point>>)
LineLineIntersection(Expr<Line>, Expr<Line>)
CircleCenter(Expr<Circle>)
Implementations§
Trait Implementations§
source§impl ConvertFrom<AnyExpr> for Point
impl ConvertFrom<AnyExpr> for Point
source§impl ConvertFrom<Expr<PointCollection>> for Point
impl ConvertFrom<Expr<PointCollection>> for Point
source§fn convert_from(value: Expr<PointCollection>) -> Result<Expr<Self>, Error>
fn convert_from(value: Expr<PointCollection>) -> Result<Expr<Self>, Error>
Errors Read more
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
source§impl GetValueType for Point
impl GetValueType for Point
fn get_value_type(&self) -> Type
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