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:
@@ -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>;
|
||||
|
||||
|
Reference in New Issue
Block a user