Skip to main content

Identifiable

Trait Identifiable 

Source
pub trait Identifiable {
    // Required methods
    fn id(&self) -> u64;
    fn set_id(&mut self, id: u64);
}
Expand description

This is the crate users will import. It re-exports the internal pieces use nestforge::{NestForgeFactory, ModuleDefinition, Container};

Required Methods§

Source

fn id(&self) -> u64

Source

fn set_id(&mut self, id: u64)

Implementors§