[−][src]Struct sixtyfps_compilerlib::typeregister::NativeClass
Fields
parent: Option<Rc<NativeClass>>
class_name: String
vtable_symbol: String
properties: HashMap<String, Type>
cpp_type: Option<String>
rust_type_constructor: Option<String>
Implementations
impl NativeClass
[src]
pub fn new(class_name: &str) -> Self
[src]
pub fn new_with_properties(
class_name: &str,
properties: impl IntoIterator<Item = (String, Type)>
) -> Self
[src]
class_name: &str,
properties: impl IntoIterator<Item = (String, Type)>
) -> Self
pub fn property_count(&self) -> usize
[src]
pub fn local_property_iter(&self) -> impl Iterator<Item = (&String, &Type)>
[src]
pub fn visit_class_hierarchy(self: Rc<Self>, visitor: impl FnMut(&Rc<Self>))
[src]
pub fn lookup_property(&self, name: &str) -> Option<Type>
[src]
pub fn select_minimal_class_based_on_property_usage<'a>(
self: Rc<Self>,
properties_used: impl Iterator<Item = &'a String>
) -> Rc<Self>
[src]
self: Rc<Self>,
properties_used: impl Iterator<Item = &'a String>
) -> Rc<Self>
Trait Implementations
impl Clone for NativeClass
[src]
fn clone(&self) -> NativeClass
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NativeClass
[src]
impl Default for NativeClass
[src]
fn default() -> NativeClass
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,