pub struct Modification {
pub unimod_id: u32,
pub name: &'static str,
pub targets: &'static str,
pub mass_delta: f64,
pub composition: &'static str,
}Expand description
One modification: UNIMOD id, the residues it targets, and the two independent routes to its mass
(declared mass_delta and elemental composition) that must agree.
Fields§
§unimod_id: u32§name: &'static str§targets: &'static strResidues it can sit on, e.g. "STY" for phospho. Empty means a terminal modification.
mass_delta: f64§composition: &'static strElemental composition of the delta, e.g. "HO3P" for phospho.
Implementations§
Source§impl Modification
impl Modification
Trait Implementations§
Source§impl Clone for Modification
impl Clone for Modification
impl Copy for Modification
Source§impl Debug for Modification
impl Debug for Modification
Source§impl PartialEq for Modification
impl PartialEq for Modification
impl StructuralPartialEq for Modification
Auto Trait Implementations§
impl Freeze for Modification
impl RefUnwindSafe for Modification
impl Send for Modification
impl Sync for Modification
impl Unpin for Modification
impl UnsafeUnpin for Modification
impl UnwindSafe for Modification
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