Struct vapoursynth4_rs::plugin::Plugin
source · pub struct Plugin { /* private fields */ }Implementations§
source§impl Plugin
impl Plugin
pub fn new(handle: NonNull<VSPlugin>) -> Self
pub fn as_ptr(&self) -> *const VSPlugin
pub fn name(&self) -> &CStr
pub fn id(&self) -> &CStr
pub fn namespace(&self) -> &CStr
pub fn invoke(&self, name: &CStr, args: MapRef<'_>) -> Map
pub fn functions(&self) -> Functions<'_> ⓘ
pub fn get_function_by_name(&self, name: &CStr) -> Option<PluginFunction>
pub fn path(&self) -> &CStr
pub fn version(&self) -> i32
Trait Implementations§
source§impl PartialEq<Plugin> for Plugin
impl PartialEq<Plugin> for Plugin
impl Eq for Plugin
impl StructuralEq for Plugin
impl StructuralPartialEq for Plugin
Auto Trait Implementations§
impl RefUnwindSafe for Plugin
impl !Send for Plugin
impl !Sync for Plugin
impl Unpin for Plugin
impl UnwindSafe for Plugin
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