Struct ketos::structs::StructDef
[−]
[src]
pub struct StructDef { /* fields omitted */ }Represents the definition of a class of struct value
Methods
impl StructDef[src]
fn new(name: Name, def: Box<StructDefinition>) -> StructDef
Creates a new StructDef with the given name and fields.
fn name(&self) -> Name
Returns the struct name.
fn def(&self) -> &StructDefinition
Returns a reference to the StructDefinition implementation.