base-traits 0.0.1

base traits (for Rust)
Documentation
1
2
3
4
5
6
7
8
9
10
// src/traits/is_default.rs : `IsDefault`

/// Trait defining instance method `is_default() : bool` that allows a type
/// instance to indicate whether it holds the "default" value.
pub trait IsDefault {
	fn is_default(&self) -> bool;
}


// ///////////////////////////// end of file //////////////////////////// //