Struct crossgen::Templates[][src]

pub struct Templates { /* fields omitted */ }

GitHub template struct.

Methods

impl Templates
[src]

Deprecated since 0.5.0

: Use gen_bin or gen_lib instead

Create a new instance. Creates a scripts/ directory if it doesn't exist already.

Create a new instance for binary target.

Create a new instance for library target

Write all templates.

Auto Trait Implementations

impl Send for Templates

impl Sync for Templates