pub struct CoreRef<'core> { /* private fields */ }
Expand description

A reference to a VapourSynth core.

Implementations

Returns information about the VapourSynth core.

Retrieves a registered or preset Format by its id. The id can be of a previously registered format, or one of the PresetFormat.

Registers a custom video format.

Returns None if an invalid format is described.

Registering compat formats is not allowed. Only certain privileged built-in filters are allowed to handle compat formats.

RGB formats are not allowed to be subsampled.

Returns a plugin with the given identifier.

Returns a plugin with the given namespace.

get_plugin_by_id() should be used instead.

Returns a map containing a list of all loaded plugins.

Keys: meaningless unique strings;

Values: namespace, identifier, and full name, separated by semicolons.

Sets the maximum size of the framebuffer cache. Returns the new maximum size.

Sets the number of worker threads for the given core.

If the requested number of threads is zero or lower, the number of hardware threads will be detected and used.

Returns the new thread count.

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

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