#[repr(C)]pub struct SelectIdleCommand {
pub selecting_player: CorePlayer,
pub summonable_cards: Vec<CardPosition<true, false, false>>,
pub special_summonable_cards: Vec<CardPosition<true, false, false>>,
pub repositionable_cards: Vec<CardPosition<true, false, false>>,
pub m_setable_cards: Vec<CardPosition<true, false, false>>,
pub s_setable_cards: Vec<CardPosition<true, false, false>>,
pub activatable_cards: Vec<CardPosition<true, false, true>>,
pub can_enter_bp: bool,
pub can_enter_ep: bool,
pub can_shuffle_hand: bool,
}Fields§
§selecting_player: CorePlayer§summonable_cards: Vec<CardPosition<true, false, false>>§special_summonable_cards: Vec<CardPosition<true, false, false>>§repositionable_cards: Vec<CardPosition<true, false, false>>§m_setable_cards: Vec<CardPosition<true, false, false>>§s_setable_cards: Vec<CardPosition<true, false, false>>§activatable_cards: Vec<CardPosition<true, false, true>>§can_enter_bp: bool§can_enter_ep: bool§can_shuffle_hand: boolImplementations§
Source§impl SelectIdleCommand
impl SelectIdleCommand
pub fn into_message(self) -> Message
Trait Implementations§
Source§impl BinRead for SelectIdleCommand
impl BinRead for SelectIdleCommand
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for SelectIdleCommand
impl BinWrite for SelectIdleCommand
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§impl Clone for SelectIdleCommand
impl Clone for SelectIdleCommand
Source§fn clone(&self) -> SelectIdleCommand
fn clone(&self) -> SelectIdleCommand
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 SelectIdleCommand
impl Debug for SelectIdleCommand
Source§impl From<SelectIdleCommand> for Message
impl From<SelectIdleCommand> for Message
Source§fn from(value: SelectIdleCommand) -> Self
fn from(value: SelectIdleCommand) -> Self
Converts to this type from the input type.
Source§impl From<SelectIdleCommand> for Message
impl From<SelectIdleCommand> for Message
Source§fn from(value: SelectIdleCommand) -> Self
fn from(value: SelectIdleCommand) -> Self
Converts to this type from the input type.
Source§impl GameMessage for SelectIdleCommand
impl GameMessage for SelectIdleCommand
fn mask(&mut self)
fn waiting_for(&self) -> Option<CorePlayer>
fn should_mask(&self, _player: CorePlayer) -> bool
Source§impl Message for SelectIdleCommand
impl Message for SelectIdleCommand
fn message_type() -> MessageType
impl PureMessage for SelectIdleCommand
Source§impl<'m> TryFrom<&'m Message> for &'m SelectIdleCommand
impl<'m> TryFrom<&'m Message> for &'m SelectIdleCommand
Auto Trait Implementations§
impl Freeze for SelectIdleCommand
impl RefUnwindSafe for SelectIdleCommand
impl Send for SelectIdleCommand
impl Sync for SelectIdleCommand
impl Unpin for SelectIdleCommand
impl UnsafeUnpin for SelectIdleCommand
impl UnwindSafe for SelectIdleCommand
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