Struct vapoursynth::plugins::Metadata
source · [−]pub struct Metadata {
pub identifier: &'static str,
pub namespace: &'static str,
pub name: &'static str,
pub read_only: bool,
}
Expand description
Plugin metadata.
Fields
identifier: &'static str
A “reverse” URL, unique among all plugins.
For example, com.example.invert
.
namespace: &'static str
Namespace where the plugin’s filters will go, unique among all plugins.
Only lowercase letters and the underscore should be used, and it shouldn’t be too long.
Additionally, words that are special to Python, e.g. del
, should be avoided.
For example, invert
.
name: &'static str
Plugin name in readable form.
For example, Invert Example Plugin
.
read_only: bool
Whether new filters can be registered at runtime.
This should generally be set to false
. It’s used for the built-in AviSynth compat plugin.
Trait Implementations
impl Copy for Metadata
impl Eq for Metadata
impl StructuralEq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more