pub enum Owner {
RustRegistry,
Engine,
}Expand description
ownership indicator:
Variants§
RustRegistry
The registry: pinned to CppOwnership while Rust holds a handle,
changed to JavaScriptOwnership by collect_garbage and then
finally deleted by the QML engine.
Engine
The QML engine which deletes its own objects.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more