[][src]Struct sixtyfps_compilerlib::object_tree::PropertyDeclaration

pub struct PropertyDeclaration {
    pub property_type: Type,
    pub type_node: Option<SyntaxNodeWithSourceFile>,
    pub expose_in_public_api: bool,
    pub is_alias: Option<NamedReference>,
}

Fields

property_type: Typetype_node: Option<SyntaxNodeWithSourceFile>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.

Trait Implementations

impl Clone for PropertyDeclaration[src]

impl Debug for PropertyDeclaration[src]

impl Default for PropertyDeclaration[src]

impl From<Type> for PropertyDeclaration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.