[][src]Struct reefast::dh::MutaAttrMod

pub struct MutaAttrMod {
    pub muta_id: ReeInt,
    pub attr_id: ReeInt,
    pub min_attr_mult: ReeFloat,
    pub max_attr_mult: ReeFloat,
}

Mutaplasmid attribute modification data.

Fields

muta_id: ReeInt

Mutaplasmid item type ID.

attr_id: ReeInt

Refers an attribute being modified by the mutaplasmid.

min_attr_mult: ReeFloat

Lower boundary of the modification range.

max_attr_mult: ReeFloat

Upper boundary of the modification range.

Implementations

impl MutaAttrMod[src]

pub fn new(
    muta_id: ReeInt,
    attr_id: ReeInt,
    min_attr_mult: ReeFloat,
    max_attr_mult: ReeFloat
) -> MutaAttrMod
[src]

Make a new mutaplasmid attribute conversion.

Trait Implementations

impl Debug for MutaAttrMod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.