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.

Object Safety§

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>