struct Chem::Templates::SpecParser::AtomRecord
- Chem::Templates::SpecParser::AtomRecord
- Struct
- Value
- Object
Defined in:
chem/templates/spec_parser.crConstructors
Instance Method Summary
- #clone
- #copy_with(name _name = @name, element _element = @element, formal_charge _formal_charge = @formal_charge, explicit_hydrogens _explicit_hydrogens = @explicit_hydrogens)
- #element : Element
- #explicit_hydrogens : Int32 | Nil
- #formal_charge : Int32
- #name : String
Constructor Detail
def self.new(name : String, element : Element, formal_charge : Int32, explicit_hydrogens : Int32 | Nil)
#
Instance Method Detail
def copy_with(name _name = @name, element _element = @element, formal_charge _formal_charge = @formal_charge, explicit_hydrogens _explicit_hydrogens = @explicit_hydrogens)
#