DecodeState

Trait DecodeState 

Source
pub trait DecodeState: Sized {
    // Required method
    fn create(version: i32) -> Self;
}
Expand description

Intermediate state while parsing via DecodeBeatmap.

Required Methods§

Source

fn create(version: i32) -> Self

Given the format version, create an instance.

If the version is not of interest, this is basically Default::default().

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§