use super::super::{annotations::*, traits::*};
use std::hash::*;
#[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct WithAnnotations {
pub annotations: Annotations,
}
impl Annotated for WithAnnotations {
fn can_have_annotations() -> bool {
true
}
fn annotations(&self) -> Option<&Annotations> {
Some(&self.annotations)
}
fn annotations_mut(&mut self) -> Option<&mut Annotations> {
Some(&mut self.annotations)
}
}