yowl 0.4.0

Primitives for reading and writing the SMILES language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::Element;

use super::atom_kind;

pub trait ElementExt {
    fn targets(&self) -> &[u8];
}

impl ElementExt for Element {
    fn targets(&self) -> &[u8] {
        atom_kind::elemental_targets(*self, None)
    }
}