pub struct Experience {
pub bar: f32,
pub level: i32,
pub total: i32,
}Expand description
Структура опыта
Fields§
§bar: f32§level: i32§total: i32Trait Implementations§
Source§impl Buffer for Experience
impl Buffer for Experience
Source§impl Clone for Experience
impl Clone for Experience
Source§fn clone(&self) -> Experience
fn clone(&self) -> Experience
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Experience
impl Debug for Experience
Source§impl Default for Experience
impl Default for Experience
Source§impl PartialEq for Experience
impl PartialEq for Experience
Source§fn eq(&self, other: &Experience) -> bool
fn eq(&self, other: &Experience) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Experience
impl StructuralPartialEq for Experience
Auto Trait Implementations§
impl Freeze for Experience
impl RefUnwindSafe for Experience
impl Send for Experience
impl Sync for Experience
impl Unpin for Experience
impl UnsafeUnpin for Experience
impl UnwindSafe for Experience
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