pub struct CompiledBotanicalOrgan10d {
pub scale: BotanicalEducationScale,
pub vertices: Vec<[f32; 3]>,
pub normals: Vec<[f32; 3]>,
pub uvs: Vec<[f32; 2]>,
pub colors: Vec<[u8; 4]>,
pub material_indices: Vec<u8>,
pub indices: Vec<u32>,
pub tissue_slices: Vec<TissueSubmeshSlice>,
pub container_bytes: Vec<u8>,
}Expand description
Compiled high-density botanical organ with full living .10d container bytes.
Fields§
§scale: BotanicalEducationScale§vertices: Vec<[f32; 3]>§normals: Vec<[f32; 3]>§uvs: Vec<[f32; 2]>§colors: Vec<[u8; 4]>§material_indices: Vec<u8>§indices: Vec<u32>§tissue_slices: Vec<TissueSubmeshSlice>§container_bytes: Vec<u8>Implementations§
Source§impl CompiledBotanicalOrgan10d
impl CompiledBotanicalOrgan10d
Sourcepub fn vertex_count(&self) -> usize
pub fn vertex_count(&self) -> usize
Total vertices in organ mesh.
Sourcepub fn triangle_count(&self) -> usize
pub fn triangle_count(&self) -> usize
Total triangles in organ mesh.
Sourcepub fn tissue_layer_slice(
&self,
layer: HistologicalTissueLayer,
) -> Option<&TissueSubmeshSlice>
pub fn tissue_layer_slice( &self, layer: HistologicalTissueLayer, ) -> Option<&TissueSubmeshSlice>
Find the submesh slice for a specific tissue layer.
Sourcepub fn verify_all(&self) -> Result<(), String>
pub fn verify_all(&self) -> Result<(), String>
Verify structural, section table, CRC-32C, and geometric integrity.
Trait Implementations§
Source§impl Clone for CompiledBotanicalOrgan10d
impl Clone for CompiledBotanicalOrgan10d
Auto Trait Implementations§
impl Freeze for CompiledBotanicalOrgan10d
impl RefUnwindSafe for CompiledBotanicalOrgan10d
impl Send for CompiledBotanicalOrgan10d
impl Sync for CompiledBotanicalOrgan10d
impl Unpin for CompiledBotanicalOrgan10d
impl UnsafeUnpin for CompiledBotanicalOrgan10d
impl UnwindSafe for CompiledBotanicalOrgan10d
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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