pub struct DittoMutableRga { /* private fields */ }
Expand description

Represents a mutable CRDT rga that can be updated while updating a document.

This class can’t be instantiated directly. It’s returned from the get_mut method of DittoMutDocument.

Implementations

👎 Deprecated:

DittoRga usage should be replaced. Use arrays inside DittoRegisters instead

The operation may fail if the content of the Rga can not be serialized into T

👎 Deprecated:

DittoRga usage should be replaced. Use arrays inside DittoRegisters instead

Set a value at the specified index.

👎 Deprecated:

DittoRga usage should be replaced. Use arrays inside DittoRegisters instead

Remove a value at the specified index.

👎 Deprecated:

DittoRga usage should be replaced. Use arrays inside DittoRegisters instead

Push a value on to the end of the RGA.

👎 Deprecated:

DittoRga usage should be replaced. Use arrays inside DittoRegisters instead

Pop a value off the end of the RGA.

👎 Deprecated:

DittoRga usage should be replaced. Use arrays inside DittoRegisters instead

Inserts a value into the RGA at the index specified.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts to T by calling Into<T>::into.

Tries to convert to T by calling TryInto<T>::try_into.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.