pub struct Sketch3dConstraintType {
pub name: &'static str,
pub arity: usize,
pub dimensional: bool,
pub meaning: &'static str,
}Expand description
One constraint type: its type string, how many point ids it takes, whether
it carries a value, and a one-line meaning (the editor’s palette reads
these; the solver dispatches on the string).
Fields§
§name: &'static str§arity: usizeThe point-id layout: how many ids points carries, in which roles.
dimensional: boolWhether the constraint carries a dimensional value.
meaning: &'static strTrait Implementations§
Source§impl Clone for Sketch3dConstraintType
impl Clone for Sketch3dConstraintType
impl Copy for Sketch3dConstraintType
Auto Trait Implementations§
impl Freeze for Sketch3dConstraintType
impl RefUnwindSafe for Sketch3dConstraintType
impl Send for Sketch3dConstraintType
impl Sync for Sketch3dConstraintType
impl Unpin for Sketch3dConstraintType
impl UnsafeUnpin for Sketch3dConstraintType
impl UnwindSafe for Sketch3dConstraintType
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