zenith 0.0.1

A Medical, and Theoretical Science development tool.
Documentation

Zenith

Atom and molecule manipulation, and development tool.

--vers 0.0.1 {

 // num_protons // Number of Protons, within the Atom.
 // num_neutrons // Number of Neutrons, within the Atom.
 // num_electrons // Number of Electrons, within the Atom.
 fn create_atom(id: u32, num_protons: u32, num_neutrons: u32, num_electrons: u32) -> Atom {
      
      Atom {}
 }
 
 // atoms // A vector of Atom ID's to represent a Molecule.
 fn create_molecule(atoms: Vec<u32>) -> Molecule {
      
      Molecule {}
 }

 struct Atom {}
 struct Molecule {}
 
 impl Atom {
    
      set_electrons(amount: u32) // Sets the amount of Electrons, within an Atom.
      add_electrons(amount: u32) // Add an amount of Electrons, to the Atom.
      sub_electrons(amount: u32) // Subtract an amount of Electrons, from an Atom.
      amount_electrons() -> u32 // Return the amount of Electrons, within the Atom.

      set_neutrons(amount: u32) // Sets the amount of Neutrons, within an Atom.
      add_neutrons(amount: u32) // Add an amount of Neutrons, to the Atom.
      sub_neutrons(amount: u32) // Subtract an amount of Neutrons, from an Atom.
      amount_neutrons() -> u32 // Return the amount of Neutrons, within the Atom.

      amount_protons() -> u32 // Return the amount of Protons, within the Atom.
    
 }

 impl Molecule {
      
      atoms() -> Vec<u32> // The ID's of the Atom's, within the Molecule.
      
 }

}