collectivity 3.2.2

Generic collection traits
Documentation
1
2
3
4
5
6
7
8
9
10
/// Groups types used to indicate whether a trait implementation may panic
pub trait SafetyMarker {}

/// Indicates a trait implementation may not panic
pub struct Safe {}
impl SafetyMarker for Safe {}

/// Indicates a trait implementation may panic
pub struct Unsafe {}
impl SafetyMarker for Unsafe {}