pub struct PluginFunction<'core> { /* private fields */ }Expand description
A VapourSynth plugin function.
This represents a specific filter function exported by a plugin. In VapourSynth v4, plugin
functions must be queried individually by name using Plugin::get_plugin_function_by_name().
Implementations§
Source§impl<'core> PluginFunction<'core>
impl<'core> PluginFunction<'core>
Sourcepub fn arguments(&self) -> &'core CStr
pub fn arguments(&self) -> &'core CStr
Returns the argument specification string for this plugin function.
The argument string describes the parameters the function accepts using VapourSynth’s argument specification format (e.g., “clip:vnode;width:int:opt;height:int:opt;”).
Sourcepub fn return_type(&self) -> &'core CStr
pub fn return_type(&self) -> &'core CStr
Returns the return type specification string for this plugin function.
The return type string describes what the function returns using VapourSynth’s type specification format (typically “vnode” for filters that return video nodes).
Trait Implementations§
Source§impl<'core> Clone for PluginFunction<'core>
impl<'core> Clone for PluginFunction<'core>
Source§fn clone(&self) -> PluginFunction<'core>
fn clone(&self) -> PluginFunction<'core>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'core> Debug for PluginFunction<'core>
impl<'core> Debug for PluginFunction<'core>
impl<'core> Copy for PluginFunction<'core>
impl<'core> Send for PluginFunction<'core>
impl<'core> Sync for PluginFunction<'core>
Auto Trait Implementations§
impl<'core> Freeze for PluginFunction<'core>
impl<'core> RefUnwindSafe for PluginFunction<'core>
impl<'core> Unpin for PluginFunction<'core>
impl<'core> UnwindSafe for PluginFunction<'core>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more