pub struct Model {
pub actors: IndexMap<Type, ActorDef>,
pub traits: IndexMap<Path, TraitDef>,
}Fields§
§actors: IndexMap<Type, ActorDef>§traits: IndexMap<Path, TraitDef>Implementations§
Source§impl Model
impl Model
pub fn generate_setups(&self) -> String
pub fn generate_traits(&self) -> String
pub fn generate_actor_ids_messages_and_conversions(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl !Send for Model
impl !Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more