Struct grafen::iterator::CurrentAtom [] [src]

pub struct CurrentAtom<'a> {
    pub atom_index: u64,
    pub residue_index: u64,
    pub atom: &'a Atom,
    pub residue: &'a Residue,
    pub position: Coord,
}

Information about an atom, ready for output.

Fields

Relative atom index in the component. 0-indexed.

Relative residue index in the component. 0-indexed.

Current atom type.

Current residue type.

Atom position, relative to the component origin.

Trait Implementations

impl<'a> Debug for CurrentAtom<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for CurrentAtom<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.