Trait FromValueRef

Source
pub trait FromValueRef<'a, T> {
    // Required method
    fn from_value_ref(value: &ValueRef<'a, T>) -> Self;
}
Expand description

Type that can extract from ValueRef.

Required Methods§

Source

fn from_value_ref(value: &ValueRef<'a, T>) -> Self

Extrace from ValueRef.

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.

Implementors§

Source§

impl<'a, I, T> FromValueRef<'a, I> for Data<Option<&'a T>>
where T: Send + Sync + 'static,

Source§

impl<'a, I, T> FromValueRef<'a, I> for Data<&'a T>
where T: Send + Sync + 'static,

Source§

impl<'a, I, T> FromValueRef<'a, I> for Env<Option<&'a T>>
where T: Send + Sync + 'static,

Source§

impl<'a, I, T> FromValueRef<'a, I> for Env<&'a T>
where T: Send + Sync + 'static,

Source§

impl<'a, I, T> FromValueRef<'a, I> for Prev<&'a T>
where T: Send + Sync + 'static,

Source§

impl<'a, T> FromValueRef<'a, T> for In<&'a T>