struct Chem::Templates::SpecParser::AtomRecord

Defined in:

chem/templates/spec_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, element : Element, formal_charge : Int32, explicit_hydrogens : Int32 | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, element _element = @element, formal_charge _formal_charge = @formal_charge, explicit_hydrogens _explicit_hydrogens = @explicit_hydrogens) #

[View source]
def element : Element #

def explicit_hydrogens : Int32 | Nil #

def formal_charge : Int32 #

def name : String #