enum Chem::BondOrder
Overview
A BondOrder provides a type-safe representation of the bond order
of a covalent between two atoms.
Defined in:
chem/connectivity.crEnum Members
-
Zero =
0 -
Zero bond order, e.g., Schrodinger represents bonds between metals as zero-order bonds. May also indicate unknown or unspecified order.
-
Single =
1 -
Single bond order
-
Double =
2 -
Double bond order
-
Triple =
3 -
Triple bond order
Instance Method Summary
-
#==(rhs : Int) : Bool
Returns
trueif the integer representation of the bond order is equal to rhs, elsefalse. - #double?
-
#pred : self
Decreases the bond order.
- #single?
-
#succ : self
Increases the bond order.
-
#to_char : Char
Returns the char representation of the bond order.
- #triple?
- #zero?
Instance Method Detail
def ==(rhs : Int) : Bool
#
Returns true if the integer representation of the bond order is
equal to rhs, else false.