Struct cbindgen::DirectiveSet [] [src]

pub struct DirectiveSet { /* fields omitted */ }

A simple system for specifying properties on items

a directive is given by cbindgen:PROPERTY=VALUE where PROPERTY depends on the item where VALUE can be

  • list - [item1, item2, item3]
  • atom - foo
  • bool - true,false Examples:
  • cbindgen:field-names=[mHandle, mNamespace]
  • cbindgen:function-postfix=WR_DESTRUCTOR_SAFE

Methods

impl DirectiveSet
[src]

Trait Implementations

impl Debug for DirectiveSet
[src]

Formats the value using the given formatter.

impl Clone for DirectiveSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more