pub struct RestrictionEnzyme {
pub name: String,
pub recognition_site: Vec<u8>,
pub cut_forward: isize,
pub cut_reverse: isize,
pub is_palindromic: bool,
}Expand description
A restriction enzyme with its recognition site and cut offsets.
Fields§
§name: StringEnzyme name (e.g., “EcoRI”).
recognition_site: Vec<u8>Recognition site in IUPAC DNA (uppercase).
cut_forward: isizeCut offset on the forward (5’→3’) strand, from the start of the recognition site.
cut_reverse: isizeCut offset on the reverse (3’→5’) strand, from the start of the recognition site.
is_palindromic: boolWhether the recognition site is palindromic.
Trait Implementations§
Source§impl Clone for RestrictionEnzyme
impl Clone for RestrictionEnzyme
Source§fn clone(&self) -> RestrictionEnzyme
fn clone(&self) -> RestrictionEnzyme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RestrictionEnzyme
impl RefUnwindSafe for RestrictionEnzyme
impl Send for RestrictionEnzyme
impl Sync for RestrictionEnzyme
impl Unpin for RestrictionEnzyme
impl UnsafeUnpin for RestrictionEnzyme
impl UnwindSafe for RestrictionEnzyme
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