Function entity::global::set_db_from_rc[][src]

pub fn set_db_from_rc(database_rc: DatabaseRc) -> WeakDatabaseRc

Sets the global database to the strong reference and returns a weak reference to the same database