pub trait Saveable {
// Required methods
fn save(internal: &mut Internal, settings: &Settings) -> Self
where Self: Sized;
fn is_vintage_story(&self) -> bool;
}Required Methods§
Sourcefn save(internal: &mut Internal, settings: &Settings) -> Selfwhere
Self: Sized,
fn save(internal: &mut Internal, settings: &Settings) -> Selfwhere
Self: Sized,
Save the given Internal to a schematic.
fn is_vintage_story(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".