pub struct Mapx<K, V> { /* private fields */ }

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Create a new version on the default branch.

Create a new version on a specified branch, NOTE: the branch must has been created. Read more

Check if a verison exists on default branch.

Check if a version exists on a specified branch(include its parents).

Remove the newest version on the default branch. Read more

Remove the newest version on a specified branch. Read more

Merge all changes made by new versions after the base version into the base version. Read more

Merge all changes made by new versions after the base version into the base version. Read more

NOTE Read more

NOTE Read more

NOTE Read more

Safety Read more

Create a new branch based on the head of the default branch.

Create a new branch based on the head of a specified branch.

Create a new branch based on a specified version of a specified branch.

Safety Read more

Safety Read more

Safety Read more

Check if a branch exists or not.

Check if a branch exists and has versions on it.

Remove a branch, remove all changes directly made by this branch. Read more

Remove all changes directly made by versions(bigger than last_version_id) of this branch. Read more

Remove all changes directly made by versions(bigger than last_version_id) of this branch. Read more

Remove the newest version on a specified branch. Read more

Merge a branch into another.

Merge a branch into another, even if new different versions have been created on the target branch. Read more

Make a branch to be default, all default operations will be applied to it. Read more

NOTE Read more

Logically similar to std::ptr::swap Read more

Clean outdated versions out of the default branch.

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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.