Struct geo_aid::script::unroll::PointCollection
source · pub struct PointCollection {
pub length: usize,
pub data: PointCollectionData,
}
Fields§
§length: usize
§data: PointCollectionData
Implementations§
Trait Implementations§
source§impl CloneWithNode for PointCollection
impl CloneWithNode for PointCollection
fn clone_with_node(&mut self) -> Self
fn clone_without_node(&self) -> Self
source§impl ConvertFrom<AnyExpr> for PointCollection
impl ConvertFrom<AnyExpr> for PointCollection
source§fn convert_from(value: AnyExpr, context: &CompileContext) -> Expr<Self>
fn convert_from(value: AnyExpr, context: &CompileContext) -> Expr<Self>
Errors Read more
fn can_convert_from(value: &AnyExpr) -> bool
source§impl ConvertFrom<Expr<Bundle>> for PointCollection
impl ConvertFrom<Expr<Bundle>> for PointCollection
source§fn convert_from(value: Expr<Bundle>, context: &CompileContext) -> Expr<Self>
fn convert_from(value: Expr<Bundle>, context: &CompileContext) -> Expr<Self>
Errors Read more
fn can_convert_from(_value: &Expr<Bundle>) -> bool
source§impl ConvertFrom<Expr<Circle>> for PointCollection
impl ConvertFrom<Expr<Circle>> for PointCollection
source§fn convert_from(value: Expr<Circle>, context: &CompileContext) -> Expr<Self>
fn convert_from(value: Expr<Circle>, context: &CompileContext) -> Expr<Self>
Errors Read more
fn can_convert_from(_value: &Expr<Circle>) -> bool
source§impl ConvertFrom<Expr<Line>> for PointCollection
impl ConvertFrom<Expr<Line>> for PointCollection
source§fn convert_from(value: Expr<Line>, context: &CompileContext) -> Expr<Self>
fn convert_from(value: Expr<Line>, context: &CompileContext) -> Expr<Self>
Errors Read more
fn can_convert_from(_value: &Expr<Line>) -> bool
source§impl ConvertFrom<Expr<Point>> for PointCollection
impl ConvertFrom<Expr<Point>> for PointCollection
source§fn convert_from(value: Expr<Point>, _context: &CompileContext) -> Expr<Self>
fn convert_from(value: Expr<Point>, _context: &CompileContext) -> Expr<Self>
Errors Read more
fn can_convert_from(_value: &Expr<Point>) -> bool
source§impl ConvertFrom<Expr<PointCollection>> for PointCollection
impl ConvertFrom<Expr<PointCollection>> for PointCollection
fn can_convert_from(_value: &Expr<PointCollection>) -> bool
source§fn convert_from(
value: Expr<PointCollection>,
context: &CompileContext
) -> Expr<Self>
fn convert_from( value: Expr<PointCollection>, context: &CompileContext ) -> Expr<Self>
Errors Read more
source§impl ConvertFrom<Expr<Scalar>> for PointCollection
impl ConvertFrom<Expr<Scalar>> for PointCollection
source§fn convert_from(value: Expr<Scalar>, context: &CompileContext) -> Expr<Self>
fn convert_from(value: Expr<Scalar>, context: &CompileContext) -> Expr<Self>
Errors Read more
fn can_convert_from(_value: &Expr<Scalar>) -> bool
source§impl ConvertFrom<Expr<Unknown>> for PointCollection
impl ConvertFrom<Expr<Unknown>> for PointCollection
source§fn convert_from(value: Expr<Unknown>, _context: &CompileContext) -> Expr<Self>
fn convert_from(value: Expr<Unknown>, _context: &CompileContext) -> Expr<Self>
Errors Read more
fn can_convert_from(_value: &Expr<Unknown>) -> bool
source§impl Debug for PointCollection
impl Debug for PointCollection
source§impl Definition for PointCollection
impl Definition for PointCollection
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 Display for PointCollection
impl Display for PointCollection
source§impl GetValueType for PointCollection
impl GetValueType for PointCollection
fn get_value_type(&self) -> Type
Auto Trait Implementations§
impl !RefUnwindSafe for PointCollection
impl !Send for PointCollection
impl !Sync for PointCollection
impl Unpin for PointCollection
impl !UnwindSafe for PointCollection
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