Struct rbx_reflection::PropertyDescriptor [−][src]
#[non_exhaustive]pub struct PropertyDescriptor<'a> { pub name: Cow<'a, str>, pub scriptability: Scriptability, pub data_type: DataType<'a>, pub tags: HashSet<PropertyTag>, pub kind: PropertyKind<'a>, }
Expand description
Describes a property on an Instance.
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.name: Cow<'a, str>
The name of the property, like “Position” or “heat_xml”.
scriptability: Scriptability
The maximum access to this property available to Lua.
data_type: DataType<'a>
The type of the value described by this descriptor.
A set of the tags that apply to this property.
kind: PropertyKind<'a>
The kind of property this is, including whether it is canonical.
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 PropertyDescriptor<'a>
impl<'a> Send for PropertyDescriptor<'a>
impl<'a> Sync for PropertyDescriptor<'a>
impl<'a> Unpin for PropertyDescriptor<'a>
impl<'a> UnwindSafe for PropertyDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V