pub struct ScoreToPos {
pub score: i32,
pub pos: Option<i32>,
}Fields§
§score: i32§pos: Option<i32>Implementations§
Trait Implementations§
Source§impl Clone for ScoreToPos
impl Clone for ScoreToPos
Source§fn clone(&self) -> ScoreToPos
fn clone(&self) -> ScoreToPos
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScoreToPos
impl RefUnwindSafe for ScoreToPos
impl Send for ScoreToPos
impl Sync for ScoreToPos
impl Unpin for ScoreToPos
impl UnwindSafe for ScoreToPos
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