pub struct Plugin<'core> { /* private fields */ }
Expand description
A VapourSynth plugin.
There are a few of these built into the core, and therefore available at all times: the basic filters (identifier com.vapoursynth.std
, namespace std
), the resizers (identifier com.vapoursynth.resize
, namespace resize
), and the Avisynth compatibility module, if running in Windows (identifier com.vapoursynth.avisynth
, namespace avs
).
Implementations§
source§impl<'core> Plugin<'core>
impl<'core> Plugin<'core>
sourcepub fn path(&self) -> Option<&'core str>
pub fn path(&self) -> Option<&'core str>
The path to the shared object of the plugin or None
if is a internal VapourSynth plugin
sourcepub fn id(&self) -> Option<&'core str>
pub fn id(&self) -> Option<&'core str>
The id associated with the plugin or None
if it has no id set
sourcepub fn namespace(&self) -> Option<&'core str>
pub fn namespace(&self) -> Option<&'core str>
The namespace associated with the plugin or None
if it has no namespace set
sourcepub fn name(&self) -> Option<&'core str>
pub fn name(&self) -> Option<&'core str>
The name associated with the plugin or None
if it has no name set
pub fn version(&self) -> i32
sourcepub fn function(&self, name: &str) -> Option<PluginFunction<'core>>
pub fn function(&self, name: &str) -> Option<PluginFunction<'core>>
Get function struct associated with the name
returns None
if no function is found
sourcepub fn functions(&'core self) -> PluginFunctions<'_> ⓘ
pub fn functions(&'core self) -> PluginFunctions<'_> ⓘ
Creates an iterator over all the functions of the plugin in an arbitrary order