Struct arknights::LevelUpCostDB
source · [−]pub struct LevelUpCostDB {
pub stage0: Vec<usize>,
pub elite1: usize,
pub stage1: Vec<usize>,
pub elite2: usize,
pub stage2: Vec<usize>,
}Expand description
计算干员升级所需的所有数据
Fields
stage0: Vec<usize>精 0 每升一级需要消耗的资源
elite1: usize精 1 需要的资源
stage1: Vec<usize>精 1 每升一级需要消耗的资源
elite2: usize精 2 需要的资源
stage2: Vec<usize>精 2 每升一级需要消耗的资源
Implementations
sourceimpl LevelUpCostDB
impl LevelUpCostDB
sourcepub fn star1_cash() -> Self
pub fn star1_cash() -> Self
升级 1 星干员所需要的龙门币
sourcepub fn star2_cash() -> Self
pub fn star2_cash() -> Self
升级 2 星干员所需要的龙门币
sourcepub fn star3_cash() -> Self
pub fn star3_cash() -> Self
升级 3 星干员所需要的龙门币
sourcepub fn star4_cash() -> Self
pub fn star4_cash() -> Self
升级 4 星干员所需要的龙门币
sourcepub fn star5_cash() -> Self
pub fn star5_cash() -> Self
升级 5 星干员所需要的龙门币
sourcepub fn star6_cash() -> Self
pub fn star6_cash() -> Self
升级 6 星干员所需要的龙门币
Trait Implementations
sourceimpl Clone for LevelUpCostDB
impl Clone for LevelUpCostDB
sourcefn clone(&self) -> LevelUpCostDB
fn clone(&self) -> LevelUpCostDB
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 LevelUpCostDB
impl Debug for LevelUpCostDB
sourceimpl Hash for LevelUpCostDB
impl Hash for LevelUpCostDB
sourceimpl PartialEq<LevelUpCostDB> for LevelUpCostDB
impl PartialEq<LevelUpCostDB> for LevelUpCostDB
sourcefn eq(&self, other: &LevelUpCostDB) -> bool
fn eq(&self, other: &LevelUpCostDB) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LevelUpCostDB) -> bool
fn ne(&self, other: &LevelUpCostDB) -> bool
This method tests for !=.
impl Eq for LevelUpCostDB
impl StructuralEq for LevelUpCostDB
impl StructuralPartialEq for LevelUpCostDB
Auto Trait Implementations
impl RefUnwindSafe for LevelUpCostDB
impl Send for LevelUpCostDB
impl Sync for LevelUpCostDB
impl Unpin for LevelUpCostDB
impl UnwindSafe for LevelUpCostDB
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
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.
sourcefn clone_into(&self, target: &mut T)
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
