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

pub struct Struct { /* fields omitted */ }

Represents a structure value containing named fields

Methods

impl Struct
[src]

Creates a new Struct value with the given StructDef and field values.

Returns the value for the named field, if present.

Returns a mutable reference to the named field, if present.

Returns the struct definition.

Returns the field values.

Trait Implementations

impl Clone for Struct
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Struct
[src]

Formats the value using the given formatter.