Trait rune::ResolveOwned[][src]

pub trait ResolveOwned {
    type Owned;
    fn resolve_owned(
        &self,
        storage: &Storage,
        source: &Source
    ) -> Result<Self::Owned, ResolveError>; }

Trait for resolving a token into an owned value.

Associated Types

type Owned[src]

The output type being resolved into.

Loading content...

Required methods

fn resolve_owned(
    &self,
    storage: &Storage,
    source: &Source
) -> Result<Self::Owned, ResolveError>
[src]

Resolve into an owned value.

Loading content...

Implementors

impl ResolveOwned for ObjectKey[src]

type Owned = String

impl ResolveOwned for Ident[src]

type Owned = String

impl ResolveOwned for Label[src]

type Owned = String

impl ResolveOwned for LitByte[src]

type Owned = u8

impl ResolveOwned for LitByteStr[src]

type Owned = Vec<u8>

impl ResolveOwned for LitChar[src]

type Owned = char

impl ResolveOwned for LitNumber[src]

type Owned = Number

impl ResolveOwned for LitStr[src]

type Owned = String

impl ResolveOwned for Path[src]

type Owned = Box<str>

Loading content...