Struct vapoursynth::function::Function
source · [−]pub struct Function<'core> { /* private fields */ }
Expand description
Holds a reference to a function that may be called.
Implementations
Trait Implementations
sourceimpl<'map, 'elem: 'map> FilterArgument<'map, 'elem> for Function<'elem>
impl<'map, 'elem: 'map> FilterArgument<'map, 'elem> for Function<'elem>
sourceimpl<'map, 'elem: 'map> Value<'map, 'elem> for Function<'elem>
impl<'map, 'elem: 'map> Value<'map, 'elem> for Function<'elem>
sourcefn get_from_map(map: &Map<'elem>, key: &str) -> Result<Self>
fn get_from_map(map: &Map<'elem>, key: &str) -> Result<Self>
Retrieves the value from the map.
sourcefn get_iter_from_map(
map: &'map Map<'elem>,
key: &str
) -> Result<ValueIter<'map, 'elem, Self>>
fn get_iter_from_map(
map: &'map Map<'elem>,
key: &str
) -> Result<ValueIter<'map, 'elem, Self>>
Retrieves an iterator over the values from the map.
impl<'core> Send for Function<'core>
impl<'core> Sync for Function<'core>
Auto Trait Implementations
impl<'core> RefUnwindSafe for Function<'core>
impl<'core> Unpin for Function<'core>
impl<'core> UnwindSafe for Function<'core>
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<'map, 'elem, T> FilterParameter<'map, 'elem> for T where
'elem: 'map,
T: FilterArgument<'map, 'elem>,
impl<'map, 'elem, T> FilterParameter<'map, 'elem> for T where
'elem: 'map,
T: FilterArgument<'map, 'elem>,
type Argument = T
type Argument = T
The underlying argument type for this parameter type.
sourcefn is_optional() -> bool
fn is_optional() -> bool
Returns whether this parameter is optional.
sourcefn get_from_map(map: &'map Map<'elem>, key: &str) -> T
fn get_from_map(map: &'map Map<'elem>, key: &str) -> T
Retrieves this parameter from the given map.
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