pub struct PokemonTrainerPlatform {
pub entry: LvdEntry,
pub pos: Vector3,
}
Expand description
The location on the stage where Pokemon Trainers can float on a cute little platform while
watching their pokemon battle to the death. Alternative to PokemonTrainerRange
, which
utilizes existing models to have the trainers run “on” the stage.
Fields§
§entry: LvdEntry
The generic object data (name, subname, etc)
pos: Vector3
The position of the platform
Trait Implementations§
Source§impl BinRead for PokemonTrainerPlatform
impl BinRead for PokemonTrainerPlatform
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_options: &ReadOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read
Self
from the reader using the given ReadOptions
and
arguments.Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments.Source§impl BinWrite for PokemonTrainerPlatform
impl BinWrite for PokemonTrainerPlatform
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to write this type, usually a tuple. Read more
Source§fn write_options<W: Write + Seek>(
&self,
writer: &mut W,
options: &WriteOptions,
_: Self::Args,
) -> Result<(), Error>
fn write_options<W: Write + Seek>( &self, writer: &mut W, options: &WriteOptions, _: Self::Args, ) -> Result<(), Error>
Write the type to a writer, given the options on how to write it and the type-specific
arguments
Source§impl Debug for PokemonTrainerPlatform
impl Debug for PokemonTrainerPlatform
Auto Trait Implementations§
impl Freeze for PokemonTrainerPlatform
impl RefUnwindSafe for PokemonTrainerPlatform
impl Send for PokemonTrainerPlatform
impl Sync for PokemonTrainerPlatform
impl Unpin for PokemonTrainerPlatform
impl UnwindSafe for PokemonTrainerPlatform
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