Trait ergotree_ir::mir::constant::TryExtractInto[][src]

pub trait TryExtractInto<F> {
    fn try_extract_into<T: TryExtractFrom<F>>(
        self
    ) -> Result<T, TryExtractFromError>; }

Extract value wrapped in a type

Required methods

fn try_extract_into<T: TryExtractFrom<F>>(
    self
) -> Result<T, TryExtractFromError>
[src]

Extract value of the given type from any type (e.g. [‘Constant’], super::value::Value) on which TryExtractFrom is implemented

Loading content...

Implementors

Loading content...