Skip to main content

IExpressionParameterCollection

Trait IExpressionParameterCollection 

Source
pub trait IExpressionParameterCollection {
    // Required methods
    fn get_parameter(&self, name: &str) -> ExpressionVariant;
    fn get_object_parameter(&self, name: &str) -> Option<&dyn IExpressionObject>;
}
Expand description

The named parameters of an expression animation.

Required Methods§

Source

fn get_parameter(&self, name: &str) -> ExpressionVariant

Gets the value of a parameter; Invalid when there is no such parameter.

Source

fn get_object_parameter(&self, name: &str) -> Option<&dyn IExpressionObject>

Gets the object a parameter refers to, if the parameter is an object.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§