pub enum Line {
Generic(Generic<Self>),
Entity(usize),
LineFromPoints(Expr<Point>, Expr<Point>),
AngleBisector(Expr<Point>, Expr<Point>, Expr<Point>),
PerpendicularThrough(Expr<Line>, Expr<Point>),
ParallelThrough(Expr<Line>, Expr<Point>),
}
Variants§
Generic(Generic<Self>)
Entity(usize)
LineFromPoints(Expr<Point>, Expr<Point>)
AngleBisector(Expr<Point>, Expr<Point>, Expr<Point>)
PerpendicularThrough(Expr<Line>, Expr<Point>)
ParallelThrough(Expr<Line>, Expr<Point>)
Implementations§
Trait Implementations§
source§impl ConvertFrom<AnyExpr> for Line
impl ConvertFrom<AnyExpr> for Line
source§impl ConvertFrom<Expr<PointCollection>> for Line
impl ConvertFrom<Expr<PointCollection>> for Line
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 Line
impl Definition for Line
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 Line
impl GetValueType for Line
fn get_value_type(&self) -> Type
Auto Trait Implementations§
impl !RefUnwindSafe for Line
impl !Send for Line
impl !Sync for Line
impl Unpin for Line
impl !UnwindSafe for Line
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