#[repr(C)]pub struct ChainSolving {
pub chain_index: u8,
}Fields§
§chain_index: u8Implementations§
Source§impl ChainSolving
impl ChainSolving
pub fn into_message(self) -> Message
Trait Implementations§
Source§impl BinRead for ChainSolving
impl BinRead for ChainSolving
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 ChainSolving
impl BinWrite for ChainSolving
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 ChainSolving
impl Clone for ChainSolving
Source§fn clone(&self) -> ChainSolving
fn clone(&self) -> ChainSolving
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 ChainSolving
impl Debug for ChainSolving
Source§impl From<ChainSolving> for Message
impl From<ChainSolving> for Message
Source§fn from(value: ChainSolving) -> Self
fn from(value: ChainSolving) -> Self
Converts to this type from the input type.
Source§impl From<ChainSolving> for Message
impl From<ChainSolving> for Message
Source§fn from(value: ChainSolving) -> Self
fn from(value: ChainSolving) -> Self
Converts to this type from the input type.
Source§impl GameMessage for ChainSolving
impl GameMessage for ChainSolving
fn mask(&mut self)
fn should_mask(&self, _player: CorePlayer) -> bool
fn waiting_for(&self) -> Option<CorePlayer>
Source§impl Message for ChainSolving
impl Message for ChainSolving
fn message_type() -> MessageType
impl PureMessage for ChainSolving
Source§impl<'m> TryFrom<&'m Message> for &'m ChainSolving
impl<'m> TryFrom<&'m Message> for &'m ChainSolving
Auto Trait Implementations§
impl Freeze for ChainSolving
impl RefUnwindSafe for ChainSolving
impl Send for ChainSolving
impl Sync for ChainSolving
impl Unpin for ChainSolving
impl UnsafeUnpin for ChainSolving
impl UnwindSafe for ChainSolving
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