Struct flatdata::HandleMut[][src]

pub struct HandleMut<'a, T: 'a> { /* fields omitted */ }

Mutable handle to a flatdata struct for reading and writing fields.

Wraps a flatdata struct and provides a read and write access to its data. A handle automatically deref's to a reference of the underlying struct, since a generated flatdata struct does not tracks the lifetime of the underlying data itself. It is used to track the lifetime of the wrapped object. Similar to mutable references, it is possible to have only one mutable handle in scope, and no other mutable or const handles, cf. Handle.

Methods

impl<'a, T: 'a> HandleMut<'a, T>
[src]

Creates a new mutable handle wrapping the given object.

Trait Implementations

impl<'a, T> Deref for HandleMut<'a, T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<'a, T> DerefMut for HandleMut<'a, T>
[src]

Mutably dereferences the value.

impl<'a, T: Debug> Debug for HandleMut<'a, T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, T> Send for HandleMut<'a, T> where
    T: Send

impl<'a, T> Sync for HandleMut<'a, T> where
    T: Sync