#[repr(C)]pub struct Gaps {
pub open: i8,
pub extend: i8,
}Expand description
Open and extend gap costs.
Open cost must include the extend cost. For example, with Gaps { open: -11, extend: -1 },
a gap of length 1 costs -11, and a gap of length 2 costs -12.
Fields§
§open: i8§extend: i8Trait Implementations§
impl Copy for Gaps
impl StructuralPartialEq for Gaps
Auto Trait Implementations§
impl Freeze for Gaps
impl RefUnwindSafe for Gaps
impl Send for Gaps
impl Sync for Gaps
impl Unpin for Gaps
impl UnwindSafe for Gaps
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