#[non_exhaustive]pub struct Shape {
pub vars: u32,
pub nodes: u32,
pub height: u32,
pub mixed: bool,
pub degree: u32,
}Expand description
Structural properties used to decide whether a solver is worth asking.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vars: u32Variables used.
nodes: u32Nodes.
height: u32Longest operand chain.
mixed: boolBoth arithmetic and bitwise operators occur.
degree: u32The largest number of variables multiplied together in one product (1 for linear).
Trait Implementations§
impl Copy for Shape
impl Eq for Shape
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Forget for Shape
impl Freeze for Shape
impl Move for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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