Trait fj_kernel::objects::Form

source ·
pub trait Form {
    type Form<T>;
}
Expand description

The form that an object can take

An object can be bare (Bare), behind a Handle (BehindHandle), or can take the form of a handle and an object WithHandle.

Required Associated Types§

source

type Form<T>

The form that the object takes

Implementors§

source§

impl Form for Bare

§

type Form<T> = T

source§

impl Form for BehindHandle

§

type Form<T> = Handle<T>

source§

impl Form for WithHandle

§

type Form<T> = (Handle<T>, T)