pub struct BuiltInExpressionFfi { /* private fields */ }Expand description
Built-in functions for Foreign Function Interface available from composition animation expressions
Implementations§
Source§impl BuiltInExpressionFfi
impl BuiltInExpressionFfi
Sourcepub fn instance() -> &'static BuiltInExpressionFfi
pub fn instance() -> &'static BuiltInExpressionFfi
The shared instance.
Trait Implementations§
Source§impl IExpressionForeignFunctionInterface for BuiltInExpressionFfi
impl IExpressionForeignFunctionInterface for BuiltInExpressionFfi
Source§fn call(
&self,
name: &str,
arguments: &[ExpressionVariant],
) -> Option<ExpressionVariant>
fn call( &self, name: &str, arguments: &[ExpressionVariant], ) -> Option<ExpressionVariant>
Calls the function with the given name and arguments. Returns
None
when there is no function with that name accepting the arguments.Auto Trait Implementations§
impl !RefUnwindSafe for BuiltInExpressionFfi
impl !UnwindSafe for BuiltInExpressionFfi
impl Freeze for BuiltInExpressionFfi
impl Send for BuiltInExpressionFfi
impl Sync for BuiltInExpressionFfi
impl Unpin for BuiltInExpressionFfi
impl UnsafeUnpin for BuiltInExpressionFfi
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more