pub struct Alignment {
pub score: u32,
pub query_aligned: String,
pub text_aligned: String,
}
Expand description
This is the value returned by every alignment function after successfully aligning 2 strings. The aligned strings have ‘-’ at gaps.
Fields§
§score: u32
§query_aligned: String
§text_aligned: String
Trait Implementations§
impl Eq for Alignment
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 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