[][src]Trait oatie::doc::Schema

pub trait Schema: Clone + Debug + PartialEq {
    type Track: Track + Sized;
    type GroupProperties: Sized + Clone + Debug + Serialize + PartialEq + DeserializeOwned;
    type CharsProperties: Sized + Clone + Debug + Serialize + PartialEq + DeserializeOwned + Default + StyleTrait;
    fn attrs_eq(a: &Self::GroupProperties, b: &Self::GroupProperties) -> bool;
fn track_type_from_attrs(
        attrs: &Self::GroupProperties
    ) -> Option<Self::Track>;
fn merge_attrs(
        a: &Self::GroupProperties,
        b: &Self::GroupProperties
    ) -> Option<Self::GroupProperties>; }

Associated Types

Required Methods

Determines if two sets of Attrs are equal.

Get the track type from this Attrs.

Combine two Attrs into a new definition.

Implementors

impl Schema for RtfSchema
[src]