Skip to main content

DeepFrom

Trait DeepFrom 

Source
pub trait DeepFrom<T> {
    // Required method
    fn deep_from(value: T) -> Self;
}

Required Methods§

Source

fn deep_from(value: T) -> Self

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 DeepFrom<PyGraphRecordAttribute> for GraphRecordAttribute

Source§

impl DeepFrom<PyDataType> for DataType

Source§

fn deep_from(value: PyDataType) -> Self

Source§

impl DeepFrom<PyAttributeOverview> for AttributeOverview

Source§

impl DeepFrom<PyEdgeGroupOverview> for EdgeGroupOverview

Source§

impl DeepFrom<PyGroupOverview> for GroupOverview

Source§

impl DeepFrom<PyNodeGroupOverview> for NodeGroupOverview

Source§

impl DeepFrom<PyGroupSchema> for GroupSchema

Source§

fn deep_from(value: PyGroupSchema) -> Self

Source§

impl DeepFrom<PyGraphRecordValue> for GraphRecordValue

Source§

impl<K, KF, V, VF> DeepFrom<(K, K, V)> for (KF, KF, VF)
where KF: DeepFrom<K>, VF: DeepFrom<V>,

Source§

fn deep_from(value: (K, K, V)) -> Self

Source§

impl<K, KF, V, VF> DeepFrom<(K, V)> for (KF, VF)
where KF: DeepFrom<K>, VF: DeepFrom<V>,

Source§

fn deep_from(value: (K, V)) -> Self

Source§

impl<K, KF, V, VF, H> DeepFrom<HashMap<K, V>> for HashMap<KF, VF, H>
where KF: Hash + Eq + DeepFrom<K>, VF: DeepFrom<V>, H: BuildHasher + Default,

Source§

fn deep_from(value: HashMap<K, V>) -> Self

Source§

impl<K, KF, V, VF, H> DeepFrom<HashMap<K, V>> for HashMap<KF, VF, H>
where KF: Hash + Eq + DeepFrom<K>, VF: DeepFrom<V>, H: BuildHasher + Default,

Source§

fn deep_from(value: GrHashMap<K, V>) -> Self

Source§

impl<K, KF, V, VF, H, H2> DeepFrom<&HashMap<K, V, H2>> for HashMap<KF, VF, H>
where K: Clone, V: Clone, KF: Hash + Eq + DeepFrom<K>, VF: DeepFrom<V>, H: BuildHasher + Default, H2: BuildHasher,

Source§

fn deep_from(value: &HashMap<K, V, H2>) -> Self

Source§

impl<V, VF> DeepFrom<Option<V>> for Option<VF>
where VF: DeepFrom<V>,

Source§

fn deep_from(value: Option<V>) -> Self

Source§

impl<V, VF> DeepFrom<Vec<V>> for Vec<VF>
where VF: DeepFrom<V>,

Source§

fn deep_from(value: Vec<V>) -> Self

Implementors§