pub enum HuntingMortality {
    Background,
    Suspended {
        zone: u8,
        start: u32,
    },
    Active {
        zone: u8,
        start: u32,
        mortality: Bernoulli,
        females_only: bool,
    },
}
Expand description

Attached to cells to control hunting schedules

Variants

Background

Suspended

Fields

zone: u8
start: u32

Active

Fields

zone: u8
start: u32
mortality: Bernoulli
females_only: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.