Skip to main content

SidecarOwnerMut

Trait SidecarOwnerMut 

Source
pub trait SidecarOwnerMut<T: TypedExternal + ?Sized>: SidecarOwner<T> {
    // Required method
#[doc(hidden)]
fn __mx_write(&mut self) -> ExternalPtrMut<'_, T>; }
Expand description

A handle accepted by generated sidecar setters: an ExternalPtr, which borrows its value exclusively for the write, or an ExternalPtrMut.

Required Methods§

Source

#[doc(hidden)]
fn __mx_write(&mut self) -> ExternalPtrMut<'_, T>

The value, borrowed exclusively, with its R object.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§