Struct sixtyfps_compilerlib::langtype::BuiltinPropertyInfo [−][src]
pub struct BuiltinPropertyInfo { pub ty: Type, pub default_value: Option<Expression>, pub is_native_output: bool, }
Expand description
Information about properties in NativeClass
Fields
ty: Type
The property type
default_value: Option<Expression>
When set, this is the initial value that we will have to set if no other binding were specified
is_native_output: bool
Most properties are just set from the .60 code and never modified by the native code.
But some properties, such as TouchArea::pressed
are being set by the native code, these
are output properties which are meant to be read by the .60.
is_native_output
is true if the native item can modify the property.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BuiltinPropertyInfo
impl !Send for BuiltinPropertyInfo
impl !Sync for BuiltinPropertyInfo
impl Unpin for BuiltinPropertyInfo
impl !UnwindSafe for BuiltinPropertyInfo
Blanket Implementations
Mutably borrows from an owned value. Read more