pub struct AlignToSpec {
pub ref_id: String,
pub atom_map: Option<Vec<(u32, u32)>>,
pub min_atoms: Option<u32>,
pub mode: Option<AlignMode>,
pub timeout_ms: 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.
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.
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 Default for AlignToSpec
impl Default for AlignToSpec
Source§fn default() -> AlignToSpec
fn default() -> AlignToSpec
Returns the “default value” for a type. Read more
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§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
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