Decoder

Trait Decoder 

Source
pub trait Decoder {
    // Required method
    fn decode(state: &mut ReadingState) -> Result<()>;
}
Available on crate feature svg only.
Expand description

type value decoder for vglang core types.

Required Methods§

Source

fn decode(state: &mut ReadingState) -> Result<()>

Decode one type value from ReadingState and push result back into it.

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§