Trait ProfileData

Source
pub trait ProfileData: XNodeWrite + Sized {
    // Required method
    fn parse(it: &mut Peekable<Children<'_>>) -> Result<Self, Error>;
}
Expand description

A trait for the types that are legal to go in a TechniqueFx<T>.

Required Methods§

Source

fn parse(it: &mut Peekable<Children<'_>>) -> Result<Self, Error>

Parse the embedded data from a subsequence of children in the <technique> node.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§