pub enum Alignment {
WrappedAlignment(WrappedAlignment),
UnwrappedAlignment(UnwrappedAlignment),
}Expand description
A multiple sequence alignment: a list of Sequence records. Conventionally all sequences have the same length once gaps are included, but that is a semantic constraint, not checked structurally by this schema. Accepts either the bare-array shape every current producer (react-bio-viz’s AlignedSequences, acacia’s MSAData) actually emits, or a wrapped object carrying the wire-format ‘type’ discriminator for producers that want one.
Variants§
WrappedAlignment(WrappedAlignment)
UnwrappedAlignment(UnwrappedAlignment)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alignment
impl<'de> Deserialize<'de> for Alignment
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 From<UnwrappedAlignment> for Alignment
impl From<UnwrappedAlignment> for Alignment
Source§fn from(value: UnwrappedAlignment) -> Self
fn from(value: UnwrappedAlignment) -> Self
Converts to this type from the input type.
Source§impl From<WrappedAlignment> for Alignment
impl From<WrappedAlignment> for Alignment
Source§fn from(value: WrappedAlignment) -> Self
fn from(value: WrappedAlignment) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
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