pub struct ReplayDeck {
pub main: Vec<u32>,
pub extra: Vec<u32>,
}Expand description
Deck saved in replay.
Replay Deck binary layout is different from Deck.
Fields§
§main: Vec<u32>§extra: Vec<u32>Trait Implementations§
Source§impl BinRead for ReplayDeck
impl BinRead for ReplayDeck
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 ReplayDeck
impl BinWrite for ReplayDeck
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 ReplayDeck
impl Clone for ReplayDeck
Source§fn clone(&self) -> ReplayDeck
fn clone(&self) -> ReplayDeck
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 ReplayDeck
impl Debug for ReplayDeck
Source§impl Default for ReplayDeck
impl Default for ReplayDeck
Source§fn default() -> ReplayDeck
fn default() -> ReplayDeck
Returns the “default value” for a type. Read more
impl Eq for ReplayDeck
Source§impl From<Deck> for ReplayDeck
impl From<Deck> for ReplayDeck
Source§impl From<ReplayDeck> for Deck
impl From<ReplayDeck> for Deck
Source§fn from(value: ReplayDeck) -> Self
fn from(value: ReplayDeck) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReplayDeck
impl PartialEq for ReplayDeck
impl StructuralPartialEq for ReplayDeck
Auto Trait Implementations§
impl Freeze for ReplayDeck
impl RefUnwindSafe for ReplayDeck
impl Send for ReplayDeck
impl Sync for ReplayDeck
impl Unpin for ReplayDeck
impl UnsafeUnpin for ReplayDeck
impl UnwindSafe for ReplayDeck
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