mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Add/sync class summary docs for interpreter::Struct
This commit is contained in:
parent
2b21e7f827
commit
c06b0e10e1
2 changed files with 11 additions and 2 deletions
|
@ -29,6 +29,15 @@ namespace sixtyfps::interpreter {
|
|||
|
||||
class Value;
|
||||
|
||||
/// This type represents a runtime instance of structure in `.60`.
|
||||
///
|
||||
/// This can either be an instance of a name structure introduced
|
||||
/// with the `struct` keyword in the .60 file, or an annonymous struct
|
||||
/// writen with the `{ key: value, }` notation.
|
||||
///
|
||||
/// It can be constructed with the range constructor or initializer lst,
|
||||
/// and converted into or from a Value with the Value constructor and
|
||||
/// Value::to_struct().
|
||||
struct Struct
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -272,10 +272,10 @@ impl TryInto<sixtyfps_corelib::Color> for Value {
|
|||
}
|
||||
}
|
||||
|
||||
/// This type represent a runtime instance of structure in `.60`.
|
||||
/// This type represents a runtime instance of structure in `.60`.
|
||||
///
|
||||
/// This can either be an instance of a name structure introduced
|
||||
/// with the `struct` keywrod in the .60 file, or an annonymous struct
|
||||
/// with the `struct` keyword in the .60 file, or an annonymous struct
|
||||
/// writen with the `{ key: value, }` notation.
|
||||
///
|
||||
/// It can be constructed with the [`FromIterator`] trait, and converted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue