dioxus_native_core::node

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromAnyValue for ()

Source§

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

Implementors§