pub struct AccessoryMeshSummary {
pub vertex_count: usize,
pub face_count: usize,
pub positions: Vec<[f32; 3]>,
pub face_indices: Vec<Vec<u32>>,
pub normals: Vec<[f32; 3]>,
pub normal_face_indices: Vec<Vec<u32>>,
pub texture_coordinates: Vec<[f32; 2]>,
pub vertex_colors: Vec<AccessoryVertexColor>,
pub material_indices: Vec<u32>,
pub material_start_index: usize,
pub material_count: usize,
}Fields§
§vertex_count: usize§face_count: usize§positions: Vec<[f32; 3]>§face_indices: Vec<Vec<u32>>§normals: Vec<[f32; 3]>§normal_face_indices: Vec<Vec<u32>>§texture_coordinates: Vec<[f32; 2]>§vertex_colors: Vec<AccessoryVertexColor>§material_indices: Vec<u32>§material_start_index: usize§material_count: usizeTrait Implementations§
Source§impl Clone for AccessoryMeshSummary
impl Clone for AccessoryMeshSummary
Source§fn clone(&self) -> AccessoryMeshSummary
fn clone(&self) -> AccessoryMeshSummary
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 AccessoryMeshSummary
impl Debug for AccessoryMeshSummary
Source§impl<'de> Deserialize<'de> for AccessoryMeshSummary
impl<'de> Deserialize<'de> for AccessoryMeshSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AccessoryMeshSummary
impl PartialEq for AccessoryMeshSummary
Source§impl Serialize for AccessoryMeshSummary
impl Serialize for AccessoryMeshSummary
impl StructuralPartialEq for AccessoryMeshSummary
Auto Trait Implementations§
impl Freeze for AccessoryMeshSummary
impl RefUnwindSafe for AccessoryMeshSummary
impl Send for AccessoryMeshSummary
impl Sync for AccessoryMeshSummary
impl Unpin for AccessoryMeshSummary
impl UnsafeUnpin for AccessoryMeshSummary
impl UnwindSafe for AccessoryMeshSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more