syn_solidity

Type Alias FieldList

Source
pub type FieldList = Parameters<Semi>;
Expand description

A list of semicolon-separated VariableDeclarations.

Aliased Type§

struct FieldList(/* private fields */);

Trait Implementations§

Source§

impl Default for &FieldList

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for FieldList

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Parse for FieldList

Struct: enforce semicolon after each field and field name.

Source§

fn parse(input: ParseStream<'_>) -> Result<Self>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 32 bytes