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