pub struct PropertyDeclaration {
pub property_type: Type,
pub node: Option<Either<PropertyDeclaration, CallbackDeclaration>>,
pub expose_in_public_api: bool,
pub is_alias: Option<NamedReference>,
}
Fields
property_type: Type
node: Option<Either<PropertyDeclaration, CallbackDeclaration>>
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.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for PropertyDeclaration
impl !Send for PropertyDeclaration
impl !Sync for PropertyDeclaration
impl Unpin for PropertyDeclaration
impl !UnwindSafe for PropertyDeclaration
Blanket Implementations
Mutably borrows from an owned value. Read more