PatchInterface

Trait PatchInterface 

Source
pub trait PatchInterface: Send + Sync {
    // Required methods
    fn metadata(&self) -> &PatchMetadata;
    fn type_layout(&self) -> TypeLayout;
}
Expand description

Trait for patchable interfaces

Required Methods§

Source

fn metadata(&self) -> &PatchMetadata

Get metadata about this patch

Source

fn type_layout(&self) -> TypeLayout

Get the type layout for validation

Implementors§