Struct spaces::product::NamedSpace
source · pub struct NamedSpace<D: Space> { /* private fields */ }
Expand description
Named, N-dimensional homogeneous space.
Implementations§
source§impl<D: Space> NamedSpace<D>
impl<D: Space> NamedSpace<D>
source§impl NamedSpace<Interval>
impl NamedSpace<Interval>
pub fn partitioned(self, density: usize) -> NamedSpace<Partition>
Trait Implementations§
source§impl<D: Space> Add<NamedSpace<D>> for NamedSpace<D>
impl<D: Space> Add<NamedSpace<D>> for NamedSpace<D>
§type Output = NamedSpace<D>
type Output = NamedSpace<D>
The resulting type after applying the
+
operator.source§impl<D: Clone + Space> Clone for NamedSpace<D>
impl<D: Clone + Space> Clone for NamedSpace<D>
source§fn clone(&self) -> NamedSpace<D>
fn clone(&self) -> NamedSpace<D>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de, D: Space> Deserialize<'de> for NamedSpace<D>where
D: Deserialize<'de>,
impl<'de, D: Space> Deserialize<'de> for NamedSpace<D>where
D: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more