pub struct AlignOpts {
pub atom_map: Option<Vec<(u32, u32)>>,
pub min_atoms: Option<u32>,
pub mode: Option<AlignMode>,
pub timeout_ms: Option<u32>,
}Expand description
Align this mol onto its parent template.
Fields§
§atom_map: Option<Vec<(u32, u32)>>Pairs (query_atom, template_atom). None → edge runs MCS.
min_atoms: Option<u32>Override MIN_MCS_ATOMS when set.
mode: Option<AlignMode>exact (default) / greedy / skip. Omit = exact with house timeout.
timeout_ms: Option<u32>MCS budget in milliseconds. None = house 100 ms; 0 = unbounded.
Implementations§
Source§impl AlignOpts
impl AlignOpts
pub fn align_mode(&self) -> AlignMode
Sourcepub fn search_limits(&self) -> SearchLimits
pub fn search_limits(&self) -> SearchLimits
Search caps for MCS. Explicit atom_map skips search entirely.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AlignOpts
impl<'de> Deserialize<'de> for AlignOpts
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
impl StructuralPartialEq for AlignOpts
Auto Trait Implementations§
impl Freeze for AlignOpts
impl RefUnwindSafe for AlignOpts
impl Send for AlignOpts
impl Sync for AlignOpts
impl Unpin for AlignOpts
impl UnsafeUnpin for AlignOpts
impl UnwindSafe for AlignOpts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more