pub struct PointType {
pub name: String,
pub position: Position,
pub params: Vec<PointParam>,
pub graph: PointGraph,
pub constraints: Vec<Constraint>,
}Expand description
A point type read from a definition file.
Fields§
§name: StringName of the type.
position: PositionPosition of its name.
params: Vec<PointParam>The parameters, in order.
graph: PointGraphThe coordinates of the point, computed from the parameters.
constraints: Vec<Constraint>The where clause: what the parameters must satisfy, all at once.
Implementations§
Trait Implementations§
impl Eq for PointType
impl StructuralPartialEq for PointType
Auto Trait Implementations§
impl Forget for PointType
impl Freeze for PointType
impl Move for PointType
impl RefUnwindSafe for PointType
impl Send for PointType
impl Sync for PointType
impl Unpin for PointType
impl UnsafeUnpin for PointType
impl UnwindSafe for PointType
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