[−][src]Struct sixtyfps_compilerlib::langtype::BuiltinElement
Fields
name: String
native_class: Rc<NativeClass>
properties: HashMap<String, Type>
default_bindings: HashMap<String, Expression>
additional_accepted_child_types: HashMap<String, Type>
disallow_global_types_as_child_elements: bool
is_non_item_type: bool
Non-item type do not have reserved properties (x/width/rowspan/...) added to them (eg: PropertyAnimation)
member_functions: HashMap<String, Expression>
is_global: bool
expands_to_parent_geometry: bool
True if this type has a default width:100%; height:100%
Implementations
impl BuiltinElement
[src]
pub fn new(native_class: Rc<NativeClass>) -> Self
[src]
Trait Implementations
impl Clone for BuiltinElement
[src]
pub fn clone(&self) -> BuiltinElement
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BuiltinElement
[src]
impl Default for BuiltinElement
[src]
pub fn default() -> BuiltinElement
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BuiltinElement
[src]
impl !Send for BuiltinElement
[src]
impl !Sync for BuiltinElement
[src]
impl Unpin for BuiltinElement
[src]
impl !UnwindSafe for BuiltinElement
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,