Struct i_slint_compiler::object_tree::PropertyDeclaration
source · pub struct PropertyDeclaration {
pub property_type: Type,
pub node: Option<SyntaxNode>,
pub expose_in_public_api: bool,
pub is_alias: Option<NamedReference>,
pub visibility: PropertyVisibility,
}
Fields§
§property_type: Type
§node: Option<SyntaxNode>
§expose_in_public_api: bool
Tells if getter and setter will be added to expose in the native language API
is_alias: Option<NamedReference>
Public API property exposed as an alias: it shouldn’t be generated but instead forward to the alias.
visibility: PropertyVisibility
Implementations§
source§impl PropertyDeclaration
impl PropertyDeclaration
pub fn type_node(&self) -> Option<SyntaxNode>
Trait Implementations§
source§impl Clone for PropertyDeclaration
impl Clone for PropertyDeclaration
source§fn clone(&self) -> PropertyDeclaration
fn clone(&self) -> PropertyDeclaration
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 moresource§impl Debug for PropertyDeclaration
impl Debug for PropertyDeclaration
source§impl Default for PropertyDeclaration
impl Default for PropertyDeclaration
source§fn default() -> PropertyDeclaration
fn default() -> PropertyDeclaration
Returns the “default value” for a type. Read more