pub struct JointData {
pub name: String,
pub priority: i32,
pub rotation_keys: Vec<RotationKey>,
pub position_keys: Vec<PositionKey>,
}Fields§
§name: String§priority: i32§rotation_keys: Vec<RotationKey>§position_keys: Vec<PositionKey>Trait Implementations§
Source§impl BinRead for JointData
impl BinRead for JointData
Source§type Args<'a> = AnimReadContext
type Args<'a> = AnimReadContext
Source§fn read_options<R: Read + Seek>(
reader: &mut R,
endian: Endian,
ctx: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( reader: &mut R, endian: Endian, ctx: Self::Args<'_>, ) -> BinResult<Self>
Source§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 JointData
impl BinWrite for JointData
Source§fn write_options<W: Write + Seek>(
&self,
writer: &mut W,
endian: Endian,
_args: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, writer: &mut W, endian: Endian, _args: 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§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming native-endian byte order. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreimpl StructuralPartialEq for JointData
Auto Trait Implementations§
impl Freeze for JointData
impl RefUnwindSafe for JointData
impl Send for JointData
impl Sync for JointData
impl Unpin for JointData
impl UnsafeUnpin for JointData
impl UnwindSafe for JointData
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