Skip to main content

neo_doc

Attribute Macro neo_doc 

Source
#[neo_doc]
Expand description

Neo N3 Documentation macro

This macro generates documentation for a Neo N3 contract.

§Example

#[neo_doc]
pub struct MyContract {
    /// The name of the contract
    pub name: NeoString,
    /// The value of the contract
    pub value: NeoInteger,
}