pub struct MovePublic {
pub affixes: Affixes,
pub commands: Vec<Command>,
pub nags: Vec<Nag>,
}Expand description
Public data associated with a move.
Fields§
§affixes: Affixes§commands: Vec<Command>§nags: Vec<Nag>Trait Implementations§
Source§impl Clone for MovePublic
impl Clone for MovePublic
Source§fn clone(&self) -> MovePublic
fn clone(&self) -> MovePublic
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 Default for MovePublic
impl Default for MovePublic
Source§fn default() -> MovePublic
fn default() -> MovePublic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MovePublic
impl<'de> Deserialize<'de> for MovePublic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MovePublic
impl PartialEq for MovePublic
Source§fn eq(&self, other: &MovePublic) -> bool
fn eq(&self, other: &MovePublic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MovePublic
impl Serialize for MovePublic
impl StructuralPartialEq for MovePublic
Auto Trait Implementations§
impl Freeze for MovePublic
impl RefUnwindSafe for MovePublic
impl Send for MovePublic
impl Sync for MovePublic
impl Unpin for MovePublic
impl UnsafeUnpin for MovePublic
impl UnwindSafe for MovePublic
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