coremem_types: Conductor: make inner member private

this must mean the type's not being used, as it's now unconstructable.
This commit is contained in:
2022-07-18 18:25:07 -07:00
parent c2a9ed99c0
commit 78f7e2be45

View File

@@ -5,11 +5,10 @@ use crate::vec::Vec3;
#[cfg(feature = "serde")]
use serde::{Serialize, Deserialize};
// TODO: Conductor inner member shouldn't be public
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
#[cfg_attr(feature = "fmt", derive(Debug))]
#[derive(Copy, Clone, Default, PartialEq)]
pub struct Conductor<T>(pub T);
pub struct Conductor<T>(T);
pub type AnisomorphicConductor<R> = Conductor<Vec3<R>>;
pub type IsomorphicConductor<R> = Conductor<R>;