[][src]Trait rep::CheckRep

pub trait CheckRep {
    fn is_correct(&self) -> bool;

    fn check_rep(&self) { ... }
}

A trait for representation checking

Required methods

fn is_correct(&self) -> bool

Returns true if representation is correct, false otherwise

Loading content...

Provided methods

fn check_rep(&self)

Asserts that self is correct

Loading content...

Implementors

Loading content...