Skip to main content

Saveable

Trait Saveable 

Source
pub trait Saveable {
    // Required methods
    fn save(internal: &mut Internal, settings: &Settings) -> Self
       where Self: Sized;
    fn is_vintage_story(&self) -> bool;
}

Required Methods§

Source

fn save(internal: &mut Internal, settings: &Settings) -> Self
where Self: Sized,

Save the given Internal to a schematic.

Source

fn is_vintage_story(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§