Struct rbx_reflection::ReflectionDatabase [−][src]
#[non_exhaustive]pub struct ReflectionDatabase<'a> {
pub version: [u32; 4],
pub classes: HashMap<Cow<'a, str>, ClassDescriptor<'a>>,
pub enums: HashMap<Cow<'a, str>, EnumDescriptor<'a>>,
}
Expand description
Contains information extracted from Roblox to describe all known Instances and enums.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.version: [u32; 4]
The Roblox release that this reflection database was generated from.
classes: HashMap<Cow<'a, str>, ClassDescriptor<'a>>
All of the the known classes in the database.
enums: HashMap<Cow<'a, str>, EnumDescriptor<'a>>
All of the known enums in the database.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ReflectionDatabase<'a>
impl<'a> Send for ReflectionDatabase<'a>
impl<'a> Sync for ReflectionDatabase<'a>
impl<'a> Unpin for ReflectionDatabase<'a>
impl<'a> UnwindSafe for ReflectionDatabase<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more