compris 0.0.11

Composite Primitive Schema (CPS) for Rust
Documentation
use super::super::{annotations::*, traits::*};

use std::hash::*;

//
// WithoutAnnotations
//

/// Without [Annotations].
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct WithoutAnnotations;

impl Annotated for WithoutAnnotations {
    fn can_have_annotations() -> bool {
        false
    }

    fn annotations(&self) -> Option<&Annotations> {
        None
    }

    fn annotations_mut(&mut self) -> Option<&mut Annotations> {
        None
    }
}