Struct arknights::LevelUpCost
source · [−]pub struct LevelUpCost {
pub stage0: usize,
pub stage1: usize,
pub stage2: usize,
pub elite1: usize,
pub elite2: usize,
}Expand description
干员升级所需要的资源
Fields
stage0: usize精 0 阶段升级需要消耗的资源
stage1: usize精 1 阶段升级需要消耗的资源
stage2: usize精 2 阶段升级需要消耗的资源
elite1: usize精 1 消耗的资源
elite2: usize精 2 消耗的资源
Implementations
sourceimpl LevelUpCost
impl LevelUpCost
Trait Implementations
sourceimpl Clone for LevelUpCost
impl Clone for LevelUpCost
sourcefn clone(&self) -> LevelUpCost
fn clone(&self) -> LevelUpCost
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 LevelUpCost
impl Debug for LevelUpCost
sourceimpl Hash for LevelUpCost
impl Hash for LevelUpCost
sourceimpl PartialEq<LevelUpCost> for LevelUpCost
impl PartialEq<LevelUpCost> for LevelUpCost
sourcefn eq(&self, other: &LevelUpCost) -> bool
fn eq(&self, other: &LevelUpCost) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LevelUpCost) -> bool
fn ne(&self, other: &LevelUpCost) -> bool
This method tests for !=.
impl Eq for LevelUpCost
impl StructuralEq for LevelUpCost
impl StructuralPartialEq for LevelUpCost
Auto Trait Implementations
impl RefUnwindSafe for LevelUpCost
impl Send for LevelUpCost
impl Sync for LevelUpCost
impl Unpin for LevelUpCost
impl UnwindSafe for LevelUpCost
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
