pub trait SequenceTrait<N: Node> {
// Required methods
fn to_string(&self) -> String;
fn to_xml(&self) -> String;
fn to_xml_with_options(&self, od: &OutputDefinition) -> String;
fn to_json(&self) -> String;
fn to_bool(&self) -> bool;
fn to_int(&self) -> Result<i64, Error>;
fn push_node(&mut self, n: &N);
fn push_value(&mut self, v: &Rc<Value>);
fn push_item(&mut self, i: &Item<N>);
}Required Methods§
Sourcefn to_xml_with_options(&self, od: &OutputDefinition) -> String
fn to_xml_with_options(&self, od: &OutputDefinition) -> String
Return a XML formatted representation of the Sequence, controlled by the supplied output definition.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".