[−][src]Trait libimaghabit::util::IsValidHabitObj
Helper trait to check whether a object which can be a habit instance and a habit template is actually a valid object, whereas "valid" is defined that it is either an instance or a template (think XOR).
Provided methods
fn is_valid_havit_obj(&self) -> Result<bool>
Implementors
impl<H> IsValidHabitObj for H where
H: HabitInstance + HabitTemplate,
[src]
H: HabitInstance + HabitTemplate,