pub struct ReplayBody {Show 14 fields
pub host_name: FixedLengthString<20>,
pub tag_host_name: Option<FixedLengthString<20>>,
pub tag_client_name: Option<FixedLengthString<20>>,
pub client_name: FixedLengthString<20>,
pub start_lp: u32,
pub start_hand: u32,
pub draw_count: u32,
pub duel_options: DuelOptions,
pub duel_rule: u16,
pub host_deck: ReplayDeck,
pub tag_host_deck: Option<ReplayDeck>,
pub client_deck: ReplayDeck,
pub tag_client_deck: Option<ReplayDeck>,
pub datas: Vec<ReplayData>,
}Fields§
§host_name: FixedLengthString<20>§tag_host_name: Option<FixedLengthString<20>>§tag_client_name: Option<FixedLengthString<20>>§client_name: FixedLengthString<20>§start_lp: u32§start_hand: u32§draw_count: u32§duel_options: DuelOptions§duel_rule: u16§host_deck: ReplayDeck§tag_host_deck: Option<ReplayDeck>§client_deck: ReplayDeck§tag_client_deck: Option<ReplayDeck>§datas: Vec<ReplayData>Trait Implementations§
Source§impl BinRead for ReplayBody
impl BinRead for ReplayBody
Source§type Args<'__binrw_generated_args_lifetime> = (&'__binrw_generated_args_lifetime ReplayHeader,)
type Args<'__binrw_generated_args_lifetime> = (&'__binrw_generated_args_lifetime ReplayHeader,)
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 ReplayBody
impl BinWrite for ReplayBody
Source§type Args<'__binrw_generated_args_lifetime> = (&'__binrw_generated_args_lifetime ReplayHeader,)
type Args<'__binrw_generated_args_lifetime> = (&'__binrw_generated_args_lifetime ReplayHeader,)
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 ReplayBody
impl Clone for ReplayBody
Source§fn clone(&self) -> ReplayBody
fn clone(&self) -> ReplayBody
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 moreAuto Trait Implementations§
impl !Freeze for ReplayBody
impl RefUnwindSafe for ReplayBody
impl Send for ReplayBody
impl Sync for ReplayBody
impl Unpin for ReplayBody
impl UnsafeUnpin for ReplayBody
impl UnwindSafe for ReplayBody
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