[−][src]Trait rep::CheckRep
A trait for representation checking
Provided methods
fn is_correct(&self) -> bool
Returns true if representation is correct, false otherwise
fn correctness(&self) -> Result<(), Vec<String>>
Returns Ok if representation is correct, vector of errors otherwise
fn check_rep(&self)
Asserts that self is correct