pub struct MultiValueMut<'borrow, 'lookup, 'event> { /* private fields */ }
Expand description

An intermediate representation of a mutable multivar obtained from a File.

Implementations

Returns the actual values.

Returns the amount of values within this multivar.

Returns true if the multivar does not have any values. This might occur if the value was deleted but wasn’t yet set with a new value.

Sets the value at the given index.

Safety

This will panic if the index is out of range.

Sets the value at the given index.

Safety

This will panic if the index is out of range.

Sets all values to the provided ones. Note that this follows zip logic: if the number of values in the input is less than the number of values currently existing, then only the first n values are modified. If more values are provided than there currently are, then the remaining values are ignored.

Sets all values in this multivar to the provided one without owning the provided input.

Removes the value at the given index. Does nothing when called multiple times in succession.

Safety

This will panic if the index is out of range.

Removes all values. Does nothing when called multiple times in succession.

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

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 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.