Struct lotus_script::input::ActionState
pub struct ActionState {
pub kind: ActionStateKind,
pub cockpit_index: Option<u8>,
}
Expand description
The state of an action.
Fields§
§kind: ActionStateKind
§cockpit_index: Option<u8>
Trait Implementations§
§impl Clone for ActionState
impl Clone for ActionState
§fn clone(&self) -> ActionState
fn clone(&self) -> ActionState
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 more§impl Debug for ActionState
impl Debug for ActionState
§impl<'de> Deserialize<'de> for ActionState
impl<'de> Deserialize<'de> for ActionState
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ActionState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ActionState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ActionState
impl PartialEq for ActionState
§fn eq(&self, other: &ActionState) -> bool
fn eq(&self, other: &ActionState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for ActionState
impl Serialize for ActionState
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ActionState
impl Eq for ActionState
impl StructuralPartialEq for ActionState
Auto Trait Implementations§
impl Freeze for ActionState
impl RefUnwindSafe for ActionState
impl Send for ActionState
impl Sync for ActionState
impl Unpin for ActionState
impl UnwindSafe for ActionState
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