pub struct LearnMoveChoice {
pub forget_move_slot: usize,
}Expand description
A choice to learn a move.
Fields§
§forget_move_slot: usizeThe index of the move slot to forget.
Trait Implementations§
Source§impl Clone for LearnMoveChoice
impl Clone for LearnMoveChoice
Source§fn clone(&self) -> LearnMoveChoice
fn clone(&self) -> LearnMoveChoice
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 LearnMoveChoice
impl Debug for LearnMoveChoice
Source§impl Default for LearnMoveChoice
impl Default for LearnMoveChoice
Source§fn default() -> LearnMoveChoice
fn default() -> LearnMoveChoice
Returns the “default value” for a type. Read more
Source§impl Display for LearnMoveChoice
impl Display for LearnMoveChoice
impl Eq for LearnMoveChoice
Source§impl FromStr for LearnMoveChoice
impl FromStr for LearnMoveChoice
Source§impl PartialEq for LearnMoveChoice
impl PartialEq for LearnMoveChoice
Source§fn eq(&self, other: &LearnMoveChoice) -> bool
fn eq(&self, other: &LearnMoveChoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LearnMoveChoice
Auto Trait Implementations§
impl Freeze for LearnMoveChoice
impl RefUnwindSafe for LearnMoveChoice
impl Send for LearnMoveChoice
impl Sync for LearnMoveChoice
impl Unpin for LearnMoveChoice
impl UnsafeUnpin for LearnMoveChoice
impl UnwindSafe for LearnMoveChoice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more