#[derive(
    Debug,
    Clone,
    conjure_object::serde::Deserialize,
    conjure_object::serde::Serialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Default
)]
#[serde(crate = "conjure_object::serde", transparent)]
pub struct ComparisonVizDefinitionMap(
    pub std::collections::BTreeMap<
        super::super::super::rids::api::VizId,
        super::VizDefinition,
    >,
);
impl std::iter::FromIterator<
    (super::super::super::rids::api::VizId, super::VizDefinition),
> for ComparisonVizDefinitionMap {
    fn from_iter<T>(iter: T) -> Self
    where
        T: std::iter::IntoIterator<
            Item = (super::super::super::rids::api::VizId, super::VizDefinition),
        >,
    {
        ComparisonVizDefinitionMap(std::iter::FromIterator::from_iter(iter))
    }
}
impl std::convert::From<
    std::collections::BTreeMap<
        super::super::super::rids::api::VizId,
        super::VizDefinition,
    >,
> for ComparisonVizDefinitionMap {
    #[inline]
    fn from(
        v: std::collections::BTreeMap<
            super::super::super::rids::api::VizId,
            super::VizDefinition,
        >,
    ) -> Self {
        ComparisonVizDefinitionMap(std::convert::From::from(v))
    }
}
impl std::ops::Deref for ComparisonVizDefinitionMap {
    type Target = std::collections::BTreeMap<
        super::super::super::rids::api::VizId,
        super::VizDefinition,
    >;
    #[inline]
    fn deref(
        &self,
    ) -> &std::collections::BTreeMap<
        super::super::super::rids::api::VizId,
        super::VizDefinition,
    > {
        &self.0
    }
}
impl std::ops::DerefMut for ComparisonVizDefinitionMap {
    #[inline]
    fn deref_mut(
        &mut self,
    ) -> &mut std::collections::BTreeMap<
        super::super::super::rids::api::VizId,
        super::VizDefinition,
    > {
        &mut self.0
    }
}
impl std::convert::AsRef<
    std::collections::BTreeMap<
        super::super::super::rids::api::VizId,
        super::VizDefinition,
    >,
> for ComparisonVizDefinitionMap {
    #[inline]
    fn as_ref(
        &self,
    ) -> &std::collections::BTreeMap<
        super::super::super::rids::api::VizId,
        super::VizDefinition,
    > {
        &self.0
    }
}
