[][src]Trait arctk::ord::link::Link

pub trait Link<'a, T> {
    type Inst;
    pub fn requires(&self) -> Vec<String>;
pub fn link(self, set: &'a Set<T>) -> Result<Self::Inst, Error>; }

Types implementing this trait can be linked to a set to produce a referenced type.

Associated Types

type Inst[src]

Type to be built.

Loading content...

Required methods

pub fn requires(&self) -> Vec<String>[src]

Get a list of all required resource keys.

Link the instance type.

Errors

if a field could not be referenced.

Loading content...

Implementors

impl<'a, T, S: Link<'a, T>> Link<'a, T> for Set<S>[src]

type Inst = Set<S::Inst>

impl<'a, T: 'a> Link<'a, T> for SurfaceLinker[src]

type Inst = Surface<'a, T>

Loading content...