[][src]Function entity::global::set_db_from_box

pub fn set_db_from_box(database: Box<dyn Database>) -> WeakDatabaseRc

Sets the global database to the database trait object