Module sixtyfps_corelib::items [−][src]
Expand description
This module contains the builtin items, either in this file or in sub-modules.
When adding an item or a property, it needs to be kept in sync with different place. (This is less than ideal and maybe we can have some automation later)
- It needs to be changed in this module
- In the compiler: builtins.60
- In the interpreter (new item only): dynamic_component.rs
- For the C++ code (new item only): the cbindgen.rs to export the new item
- Don’t forget to update the documentation
Re-exports
pub use crate::SharedVector;
Structs
The implementation of the BorderRectangle
element
Helper struct containing the offsets of the fields of the struct BorderRectangle
The implementation of the BoxShadow
element
Helper struct containing the offsets of the fields of the struct BoxShadow
The implementation of the Clip
element
Helper struct containing the offsets of the fields of the struct Clip
The implementation of the ClippedImage
element
Helper struct containing the offsets of the fields of the struct ClippedImage
The implementation of the Flickable
element
Wraps the internal data structure for the Flickable
Helper struct containing the offsets of the fields of the struct Flickable
A runtime item that exposes key
Helper struct containing the offsets of the fields of the struct FocusScope
The implementation of the Image
element
Helper struct containing the offsets of the fields of the struct ImageItem
A ItemRc is holding a reference to a component containing the item, and the index of this item
Items are the nodes in the render tree.
A Weak reference to an item that can be constructed from an ItemRc.
The Opacity Item is not meant to be used directly by the .60 code, instead, the opacity: xxx
or visible: false
should be used
Helper struct containing the offsets of the fields of the struct Opacity
The implementation of the Path
element
Helper struct containing the offsets of the fields of the struct Path
Represents a key event sent by the windowing system.
The implementation of the PropertyAnimation
element
Helper struct containing the offsets of the fields of the struct PropertyAnimation
The implementation of the Rectangle
element
Helper struct containing the offsets of the fields of the struct Rectangle
The implementation of the Rotate
element
Helper struct containing the offsets of the fields of the struct Rotate
The implementation of the Text
element
Helper struct containing the offsets of the fields of the struct Text
The implementation of the TextInput
element
Helper struct containing the offsets of the fields of the struct TextInput
The implementation of the TouchArea
element
Helper struct containing the offsets of the fields of the struct TouchArea
The implementation of the Window
element
Helper struct containing the offsets of the fields of the struct WindowItem
Enums
What is returned from the event handler
Statics
Traits
Items are the nodes in the render tree.
Note: Was generated from the #[vtable]
macro on ItemVTable
Trait containing the associated constant relative to the the trait Item.