pub struct SelectionMatch {
pub size: usize,
pub atoms: [usize; 4],
}Expand description
One selection match (up to 4 atom indices, chemfiles-style).
Fields§
§size: usizeNumber of valid entries in Self::atoms (1–4).
atoms: [usize; 4]Atom indices in CON atom_data order.
Implementations§
Trait Implementations§
Source§impl Clone for SelectionMatch
impl Clone for SelectionMatch
Source§fn clone(&self) -> SelectionMatch
fn clone(&self) -> SelectionMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SelectionMatch
impl Debug for SelectionMatch
impl Eq for SelectionMatch
Source§impl PartialEq for SelectionMatch
impl PartialEq for SelectionMatch
Source§fn eq(&self, other: &SelectionMatch) -> bool
fn eq(&self, other: &SelectionMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectionMatch
Auto Trait Implementations§
impl Freeze for SelectionMatch
impl RefUnwindSafe for SelectionMatch
impl Send for SelectionMatch
impl Sync for SelectionMatch
impl Unpin for SelectionMatch
impl UnsafeUnpin for SelectionMatch
impl UnwindSafe for SelectionMatch
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