Struct ketos::value::StructDef [] [src]

pub struct StructDef { /* fields omitted */ }

Represents the definition of a class of struct value

Methods

impl StructDef
[src]

Creates a new StructDef with the given name and fields.

Returns the field index of the named field.

Returns the type of the named field.

Returns the struct name.

Returns the map of struct fields.

Trait Implementations

impl Clone for StructDef
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StructDef
[src]

Formats the value using the given formatter.

impl PartialEq for StructDef
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.