pub struct OwnedMap<'elem> { /* private fields */ }
Expand description

An owned VapourSynth map.

Implementations

Creates a new map.

Methods from Deref<Target = Map<'elem>>

Clears the map.

Returns the error message contained in the map, if any.

Adds an error message to a map. The map is cleared first.

Returns the number of keys contained in a map.

Returns a key from a map.

Panics

Panics if index >= self.key_count().

Returns an iterator over all keys in a map.

Returns the number of elements associated with a key in a map.

Retrieves a value type from a map.

Deletes the given key.

Touches the key. That is, if the key exists, nothing happens, otherwise a key is created with no values associated.

Retrieves a property value.

Retrieves an iterator over the map values.

Sets a property value.

Appends a property value.

Retrieves an integer from a map.

This function retrieves the first value associated with the key.

Retrieves integers from a map.

Retrieves an array of integers from a map.

This is faster than iterating over a get_int_iter().

Retrieves a floating point number from a map.

This function retrieves the first value associated with the key.

Retrieves an array of floating point numbers from a map.

This is faster than iterating over a get_float_iter().

Retrieves floating point numbers from a map.

Retrieves data from a map.

This function retrieves the first value associated with the key.

Retrieves data from a map.

Retrieves a node from a map.

This function retrieves the first value associated with the key.

Retrieves nodes from a map.

Retrieves a frame from a map.

This function retrieves the first value associated with the key.

Retrieves frames from a map.

Retrieves a function from a map.

This function retrieves the first value associated with the key.

Retrieves functions from a map.

Appends an integer to a map.

Appends a floating point number to a map.

Appends data to a map.

Appends a node to a map.

Appends a frame to a map.

Appends a function to a map.

Sets a property value to an integer.

Sets a property value to an integer array.

This is faster than calling append_int() in a loop.

Sets a property value to a floating point number.

Sets a property value to a floating point number array.

This is faster than calling append_float() in a loop.

Sets a property value to data.

Sets a property value to a node.

Sets a property value to a frame.

Sets a property value to a function.

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

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