Trait nom_xml::prolog::subset::ParseDeclSep

source ·
pub trait ParseDeclSep {
    type Output;

    // Required method
    fn parse_decl_sep(
        input: &str,
        entity_references: Rc<RefCell<HashMap<(Name, EntitySource), EntityValue>>>,
        entity_source: EntitySource
    ) -> IResult<&str, Self::Output>;

    // Provided method
    fn expand_entity(
        reference: &Reference,
        entity_references: &Rc<RefCell<HashMap<(Name, EntitySource), EntityValue>>>,
        entity_source: EntitySource
    ) -> Option<EntityValue> { ... }
}

Required Associated Types§

Required Methods§

source

fn parse_decl_sep( input: &str, entity_references: Rc<RefCell<HashMap<(Name, EntitySource), EntityValue>>>, entity_source: EntitySource ) -> IResult<&str, Self::Output>

Provided Methods§

source

fn expand_entity( reference: &Reference, entity_references: &Rc<RefCell<HashMap<(Name, EntitySource), EntityValue>>>, entity_source: EntitySource ) -> Option<EntityValue>

Object Safety§

This trait is not object safe.

Implementors§