Features/Rust/QOM: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

14 June 2024

  • curprev 17:2417:24, 14 June 2024Paolo Bonzini talk contribs 3,465 bytes +39 No edit summary
  • curprev 17:2217:22, 14 June 2024Paolo Bonzini talk contribs 3,426 bytes +3,426 Created page with "Rust QOM interoperability design, very loosely inspired by glib-rs. == Passing objects around == ;ObjectRef: :*trait for performing casts on objects :*upcasts safe at compile time, downcasts safe at runtime :*implemented by &T and qom::Arc<T> :*casting &T produces &U, casting qom::Arc<T> produces qom::Arc<U> ;qom::Arc<T> :*T is a struct for a QOM object :*cloning qom::Arc calls object_ref, dropping qom::Arc calls object_unref <pre> pub trait ObjectRef: Sized { //..."