[][src]Trait ergo_lib::ast::constant::TryExtractInto

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

Extract value wrapped in a type

Required methods

pub 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

impl<F> TryExtractInto<F> for F[src]

Loading content...