pub struct Header {
pub var_count: usize,
pub clause_count: usize,
}Expand description
Header data of a DIMACS CNF file.
Contains the number of variables and clauses. This parser considers a count of 0 as
unspecified and will not check that count during parsing, even in strict mode.
Fields§
§var_count: usizeUpper bound on the number of variables present in the formula.
Ignored during parsing when 0.
clause_count: usizeNumber of clauses present in the formula.
Ignored during parsing when 0.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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