pub struct EncounterConfig {
pub credits: u32,
pub max_alive: u16,
pub interval: f32,
pub first_delay: f32,
pub recovery_seconds: f32,
}Fields§
§credits: u32§max_alive: u16§interval: f32§first_delay: f32§recovery_seconds: f32Trait Implementations§
Source§impl Clone for EncounterConfig
impl Clone for EncounterConfig
Source§fn clone(&self) -> EncounterConfig
fn clone(&self) -> EncounterConfig
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 moreSource§impl Debug for EncounterConfig
impl Debug for EncounterConfig
impl Copy for EncounterConfig
Auto Trait Implementations§
impl Freeze for EncounterConfig
impl RefUnwindSafe for EncounterConfig
impl Send for EncounterConfig
impl Sync for EncounterConfig
impl Unpin for EncounterConfig
impl UnwindSafe for EncounterConfig
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