[][src]Trait df_st_core::has_unknown::HasUnknown

pub trait HasUnknown {
    fn print_unknown(
        &self,
        prefix: &str,
        unknown_map: &mut HashMap<String, u32>
    );
fn combine_unknown(
        &self,
        prefix: &str,
        unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
    ); fn update_unknown_prefix(&self, prefix: &str, struct_name: &str) -> String { ... }
fn print_unknown_list(
        &self,
        list: &HashMap<String, Value>,
        prefix: &str,
        unknown_map: &mut HashMap<String, u32>
    ) { ... }
fn combine_unknown_list(
        &self,
        list: &HashMap<String, Value>,
        prefix: &str,
        unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
    ) { ... } }

Get all the unknown: HashMap values from all the structures and substructures and put them in a list to display them later.

Required methods

fn print_unknown(&self, prefix: &str, unknown_map: &mut HashMap<String, u32>)

fn combine_unknown(
    &self,
    prefix: &str,
    unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
)

Loading content...

Provided methods

fn update_unknown_prefix(&self, prefix: &str, struct_name: &str) -> String

fn print_unknown_list(
    &self,
    list: &HashMap<String, Value>,
    prefix: &str,
    unknown_map: &mut HashMap<String, u32>
)

fn combine_unknown_list(
    &self,
    list: &HashMap<String, Value>,
    prefix: &str,
    unknown_combiner: &mut HashMap<String, Vec<(String, Value)>>
)

Loading content...

Implementations on Foreign Types

impl<T> HasUnknown for Vec<T> where
    T: HasUnknown
[src]

impl<T> HasUnknown for Option<T> where
    T: HasUnknown
[src]

impl HasUnknown for Vec<()>[src]

impl HasUnknown for Option<()>[src]

impl HasUnknown for HashMap<String, Value>[src]

impl HasUnknown for i32[src]

impl HasUnknown for u32[src]

impl HasUnknown for bool[src]

impl HasUnknown for String[src]

impl HasUnknown for Value[src]

impl HasUnknown for Vec<(String, Value)>[src]

Loading content...

Implementors

impl HasUnknown for Coordinate[src]

impl HasUnknown for Path[src]

impl HasUnknown for Rectangle[src]

Loading content...