Struct sixtyfps_compilerlib::langtype::NativeClass [−][src]
pub struct NativeClass {
pub parent: Option<Rc<NativeClass>>,
pub class_name: String,
pub cpp_vtable_getter: String,
pub properties: HashMap<String, Type>,
pub deprecated_aliases: HashMap<String, String>,
pub cpp_type: Option<String>,
pub rust_type_constructor: Option<String>,
}
Fields
parent: Option<Rc<NativeClass>>
class_name: String
cpp_vtable_getter: String
properties: HashMap<String, Type>
deprecated_aliases: HashMap<String, String>
cpp_type: Option<String>
rust_type_constructor: Option<String>
Implementations
pub fn new_with_properties(
class_name: &str,
properties: impl IntoIterator<Item = (String, Type)>
) -> Self
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for NativeClass
impl !Send for NativeClass
impl !Sync for NativeClass
impl Unpin for NativeClass
impl !UnwindSafe for NativeClass
Blanket Implementations
Mutably borrows from an owned value. Read more