pub struct MapRef<'owner, 'elem> { /* private fields */ }
Expand description

A reference to a VapourSynth map.

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

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

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.

Retrieves a property value.

Retrieves an iterator over the map values.

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.

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

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.