pub struct SmartsPattern {
pub atoms: Vec<SmartsAtom>,
pub edges: Vec<(usize, usize, SmartsBond)>,
}Expand description
A compiled SMARTS pattern.
Fields§
§atoms: Vec<SmartsAtom>Atoms in the order they appear in the SMARTS string.
edges: Vec<(usize, usize, SmartsBond)>Edges: (from_idx, to_idx, bond_predicate).
Implementations§
Source§impl SmartsPattern
impl SmartsPattern
Trait Implementations§
Source§impl Clone for SmartsPattern
impl Clone for SmartsPattern
Source§fn clone(&self) -> SmartsPattern
fn clone(&self) -> SmartsPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmartsPattern
impl Debug for SmartsPattern
Source§impl Default for SmartsPattern
impl Default for SmartsPattern
Source§fn default() -> SmartsPattern
fn default() -> SmartsPattern
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SmartsPattern
impl RefUnwindSafe for SmartsPattern
impl Send for SmartsPattern
impl Sync for SmartsPattern
impl Unpin for SmartsPattern
impl UnsafeUnpin for SmartsPattern
impl UnwindSafe for SmartsPattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more