pub struct AlignToSpec {
pub ref_id: String,
pub atom_map: Option<Vec<(u32, u32)>>,
pub min_atoms: Option<u32>,
}Expand description
Object form of document align_to (template ref + EdgePlan-style opts).
Fields§
§ref_id: StringId of the template mol in this group.
atom_map: Option<Vec<(u32, u32)>>Pairs (query, template) vs the template; skips MCS when set.
min_atoms: Option<u32>Override crate::edge::MIN_MCS_ATOMS when set.
Trait Implementations§
Source§impl Clone for AlignToSpec
impl Clone for AlignToSpec
Source§fn clone(&self) -> AlignToSpec
fn clone(&self) -> AlignToSpec
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 AlignToSpec
impl Debug for AlignToSpec
Source§impl<'de> Deserialize<'de> for AlignToSpec
impl<'de> Deserialize<'de> for AlignToSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AlignToSpec
impl PartialEq for AlignToSpec
Source§fn eq(&self, other: &AlignToSpec) -> bool
fn eq(&self, other: &AlignToSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AlignToSpec
impl Serialize for AlignToSpec
impl StructuralPartialEq for AlignToSpec
Auto Trait Implementations§
impl Freeze for AlignToSpec
impl RefUnwindSafe for AlignToSpec
impl Send for AlignToSpec
impl Sync for AlignToSpec
impl Unpin for AlignToSpec
impl UnsafeUnpin for AlignToSpec
impl UnwindSafe for AlignToSpec
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