Trait doku::Document[][src]

pub trait Document {
    fn ty() -> Type;
}
Expand description

A type that’s understandable by Doku.

Usually you’ll get this by adding #[derive(Document)] to your type:

use doku::Document;

#[derive(Document)]
struct Foo;

Required methods

Implementations on Foreign Types

Implementors