pub struct ShapeGeometry {
pub object: OwnedObject,
pub indices: Vec<u32>,
pub vertices: Vec<[f32; 3]>,
pub normals: Vec<[f32; 3]>,
}Fields§
§object: OwnedObject§indices: Vec<u32>§vertices: Vec<[f32; 3]>§normals: Vec<[f32; 3]>Implementations§
Source§impl ShapeGeometry
impl ShapeGeometry
pub fn inner(&self) -> &OwnedObject
pub fn into_inner(self) -> OwnedObject
Trait Implementations§
Source§impl Debug for ShapeGeometry
impl Debug for ShapeGeometry
Source§impl PartialEq for ShapeGeometry
impl PartialEq for ShapeGeometry
Source§impl TryFrom<OwnedObject> for ShapeGeometry
impl TryFrom<OwnedObject> for ShapeGeometry
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for ShapeGeometry
Auto Trait Implementations§
impl Freeze for ShapeGeometry
impl RefUnwindSafe for ShapeGeometry
impl Send for ShapeGeometry
impl Sync for ShapeGeometry
impl Unpin for ShapeGeometry
impl UnsafeUnpin for ShapeGeometry
impl UnwindSafe for ShapeGeometry
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