Struct i_slint_compiler::langtype::BuiltinPropertyInfo
source · pub struct BuiltinPropertyInfo {
pub ty: Type,
pub default_value: Option<Expression>,
pub property_visibility: PropertyVisibility,
}
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
property_visibility: PropertyVisibility
Implementations§
Trait Implementations§
source§impl Clone for BuiltinPropertyInfo
impl Clone for BuiltinPropertyInfo
source§fn clone(&self) -> BuiltinPropertyInfo
fn clone(&self) -> BuiltinPropertyInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for BuiltinPropertyInfo
impl !Send for BuiltinPropertyInfo
impl !Sync for BuiltinPropertyInfo
impl Unpin for BuiltinPropertyInfo
impl !UnwindSafe for BuiltinPropertyInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more