pub struct Predicate {
pub name: String,
pub params: Vec<String>,
pub main: Graph,
pub exact: Option<Graph>,
pub position: Position,
pub exact_position: Option<Position>,
}Expand description
A predicate read from a definition file.
Fields§
§name: StringName of the function.
params: Vec<String>Names of the point parameters, in order.
main: GraphThe main form of the polynomial.
exact: Option<Graph>The form marked #[exact], if the file has one.
position: PositionPosition of the name of the main form.
exact_position: Option<Position>Position of the name of the exact form, if there is one.
Trait Implementations§
impl Eq for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Forget for Predicate
impl Freeze for Predicate
impl Move for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnsafeUnpin for Predicate
impl UnwindSafe for Predicate
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