pub struct NiTriShapeData {
pub base: NiTriBasedGeomData,
pub num_triangle_points: u32,
pub has_triangles: bool,
pub triangles: Option<Vec<Triangle>>,
pub num_match_groups: u16,
pub match_groups: Vec<MatchGroup>,
}Fields§
§base: NiTriBasedGeomData§num_triangle_points: u32§has_triangles: bool§triangles: Option<Vec<Triangle>>§num_match_groups: u16§match_groups: Vec<MatchGroup>Implementations§
Trait Implementations§
Source§impl BinRead for NiTriShapeData
impl BinRead for NiTriShapeData
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 Debug for NiTriShapeData
impl Debug for NiTriShapeData
Source§impl Deref for NiTriShapeData
impl Deref for NiTriShapeData
Source§impl PartialEq for NiTriShapeData
impl PartialEq for NiTriShapeData
impl StructuralPartialEq for NiTriShapeData
Auto Trait Implementations§
impl Freeze for NiTriShapeData
impl RefUnwindSafe for NiTriShapeData
impl Send for NiTriShapeData
impl Sync for NiTriShapeData
impl Unpin for NiTriShapeData
impl UnwindSafe for NiTriShapeData
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