Trait freya_native_core::node::FromAnyValue

source ·
pub trait FromAnyValue: Clone + 'static {
    // Required method
    fn from_any_value(value: &dyn Any) -> Self;
}
Expand description

Something that can be converted from a borrowed Any value.

Required Methods§

source

fn from_any_value(value: &dyn Any) -> Self

Convert from an Any value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromAnyValue for ()

source§

fn from_any_value(_: &dyn Any) -> Self

Implementors§