Struct gyrus::generation::Generation
source · pub struct Generation {
pub species: Vec<Species>,
pub date_created: Option<DateTime<Utc>>,
pub intended_size: u16,
pub generations_before: u64,
}
Fields
species: Vec<Species>
date_created: Option<DateTime<Utc>>
intended_size: u16
generations_before: u64
Implementations
sourceimpl Generation
impl Generation
sourceimpl Generation
impl Generation
sourceimpl Generation
impl Generation
pub fn print_generation_info(&self)
sourceimpl Generation
impl Generation
sourceimpl Generation
impl Generation
sourceimpl Generation
impl Generation
sourceimpl Generation
impl Generation
Trait Implementations
sourceimpl Clone for Generation
impl Clone for Generation
sourcefn clone(&self) -> Generation
fn clone(&self) -> Generation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for Generation
impl Send for Generation
impl Sync for Generation
impl Unpin for Generation
impl UnwindSafe for Generation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more