Mesh

Struct Mesh 

Source
#[repr(C, packed(4))]
pub struct Mesh {
Show 54 fields pub id: ID, pub adt: Pointer<AnimData>, pub ipo: Pointer<Ipo>, pub key: Pointer<Key>, pub mat: Pointer<Pointer<Material>>, pub mvert: Pointer<MVert>, pub medge: Pointer<MEdge>, pub mpoly: Pointer<MPoly>, pub mloop: Pointer<MLoop>, pub totvert: i32, pub totedge: i32, pub totpoly: i32, pub totloop: i32, pub vdata: CustomData, pub edata: CustomData, pub pdata: CustomData, pub ldata: CustomData, pub dvert: Pointer<MDeformVert>, pub vertex_group_names: ListBase, pub vertex_group_active_index: i32, pub attributes_active_index: i32, pub mloopuv: Pointer<MLoopUV>, pub mloopcol: Pointer<MLoopCol>, pub edit_mesh: Pointer<Nothing>, pub mselect: Pointer<MSelect>, pub totselect: i32, pub act_face: i32, pub texcomesh: Pointer<Mesh>, pub loc: [f32; 3], pub size: [f32; 3], pub texflag: i8, pub editflag: i8, pub flag: u16, pub smoothresh: f32, pub cd_flag: i8, pub symmetry: i8, pub totcol: i16, pub remesh_mode: i8, pub subdiv: i8, pub subdivr: i8, pub subsurftype: i8, pub mtface: Pointer<MTFace>, pub tface: Pointer<TFace>, pub mcol: Pointer<MCol>, pub mface: Pointer<MFace>, pub fdata: CustomData, pub totface: i32, pub remesh_voxel_size: f32, pub remesh_voxel_adaptivity: f32, pub face_sets_color_seed: i32, pub face_sets_color_default: i32, pub _pad1: [i8; 4], pub _pad2: Pointer<Void>, pub runtime: Mesh_Runtime,
}

Fields§

§id: ID§adt: Pointer<AnimData>§ipo: Pointer<Ipo>§key: Pointer<Key>§mat: Pointer<Pointer<Material>>§mvert: Pointer<MVert>§medge: Pointer<MEdge>§mpoly: Pointer<MPoly>§mloop: Pointer<MLoop>§totvert: i32§totedge: i32§totpoly: i32§totloop: i32§vdata: CustomData§edata: CustomData§pdata: CustomData§ldata: CustomData§dvert: Pointer<MDeformVert>§vertex_group_names: ListBase§vertex_group_active_index: i32§attributes_active_index: i32§mloopuv: Pointer<MLoopUV>§mloopcol: Pointer<MLoopCol>§edit_mesh: Pointer<Nothing>§mselect: Pointer<MSelect>§totselect: i32§act_face: i32§texcomesh: Pointer<Mesh>§loc: [f32; 3]§size: [f32; 3]§texflag: i8§editflag: i8§flag: u16§smoothresh: f32§cd_flag: i8§symmetry: i8§totcol: i16§remesh_mode: i8§subdiv: i8§subdivr: i8§subsurftype: i8§mtface: Pointer<MTFace>§tface: Pointer<TFace>§mcol: Pointer<MCol>§mface: Pointer<MFace>§fdata: CustomData§totface: i32§remesh_voxel_size: f32§remesh_voxel_adaptivity: f32§face_sets_color_seed: i32§face_sets_color_default: i32§_pad1: [i8; 4]§_pad2: Pointer<Void>§runtime: Mesh_Runtime

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Mesh

§

impl RefUnwindSafe for Mesh

§

impl Send for Mesh

§

impl Sync for Mesh

§

impl Unpin for Mesh

§

impl UnwindSafe for Mesh

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.