Add Engine::register_type_with_name_raw.

This commit is contained in:
Stephen Chung
2021-12-09 12:49:12 +08:00
parent 4421f33b2c
commit d9d44a9683
6 changed files with 29 additions and 13 deletions

View File

@@ -16,8 +16,7 @@ use std::{
/// The system immutable string type.
///
/// An [`ImmutableString`] wraps an [`Rc`][std::rc::Rc]`<`[`SmartString`][smartstring::SmartString]`>`
/// (or [`Arc`][std::sync::Arc]`<`[`SmartString`][smartstring::SmartString]`>` under the `sync` feature)
/// An [`ImmutableString`] wraps an `Rc<SmartString>` (or `Arc<SmartString>` under the `sync` feature)
/// so that it can be simply shared and not cloned.
///
/// # Example