Struct eu4save::query::Inheritance
source · [−]pub struct Inheritance {
pub start_t0_year: i16,
pub end_t0_year: i16,
pub start_t1_year: i16,
pub end_t1_year: i16,
pub start_t2_year: i16,
pub end_t2_year: i16,
pub inheritance_value: u8,
pub subtotal: i64,
pub calculations: Vec<Calculation>,
}
Fields
start_t0_year: i16
end_t0_year: i16
start_t1_year: i16
end_t1_year: i16
start_t2_year: i16
end_t2_year: i16
inheritance_value: u8
subtotal: i64
calculations: Vec<Calculation>
Trait Implementations
sourceimpl Clone for Inheritance
impl Clone for Inheritance
sourcefn clone(&self) -> Inheritance
fn clone(&self) -> Inheritance
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 more
sourceimpl Debug for Inheritance
impl Debug for Inheritance
sourceimpl Serialize for Inheritance
impl Serialize for Inheritance
Auto Trait Implementations
impl RefUnwindSafe for Inheritance
impl Send for Inheritance
impl Sync for Inheritance
impl Unpin for Inheritance
impl UnwindSafe for Inheritance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more