[−][src]Struct spaces::TwoSpace
2-dimensional homogeneous space.
Methods
impl<D> TwoSpace<D>
[src]
impl TwoSpace<Interval>
[src]
pub fn equipartitioned(self, density: usize) -> TwoSpace<Equipartition>
[src]
Trait Implementations
impl<D: Space> Space for TwoSpace<D>
[src]
type Value = [D::Value; 2]
The data representation of the space.
fn dim(&self) -> Dim
[src]
fn card(&self) -> Card
[src]
impl<D, X> Surjection<[X; 2], [<D as Space>::Value; 2]> for TwoSpace<D> where
D: Space + Surjection<X, <D as Space>::Value>,
X: Clone,
[src]
D: Space + Surjection<X, <D as Space>::Value>,
X: Clone,
impl<D: Union + Clone> Union<TwoSpace<D>> for TwoSpace<D>
[src]
fn union(self, other: &Self) -> Self
[src]
fn union_many(self, other_spaces: &[S]) -> Self where
Self: Sized,
[src]
Self: Sized,
Return the smallest space enclosing self
and all other_spaces
of type Self
.
impl<D: Intersection + Clone> Intersection<TwoSpace<D>> for TwoSpace<D>
[src]
fn intersect(self, other: &Self) -> Self
[src]
fn intersect_many(self, other_spaces: &[S]) -> Self where
Self: Sized,
[src]
Self: Sized,
Return the smallest space enclosing self
and all other_spaces
of type Self
.
impl<D: Clone> From<[D; 2]> for TwoSpace<D>
[src]
impl<D: Clone> Clone for TwoSpace<D>
[src]
fn clone(&self) -> TwoSpace<D>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<D: Copy> Copy for TwoSpace<D>
[src]
impl<D: Debug> Debug for TwoSpace<D>
[src]
impl<D: Space + Display> Display for TwoSpace<D>
[src]
impl<D> Index<usize> for TwoSpace<D>
[src]
Auto Trait Implementations
impl<D> Unpin for TwoSpace<D> where
D: Unpin,
D: Unpin,
impl<D> Send for TwoSpace<D> where
D: Send,
D: Send,
impl<D> Sync for TwoSpace<D> where
D: Sync,
D: Sync,
impl<D> RefUnwindSafe for TwoSpace<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D> UnwindSafe for TwoSpace<D> where
D: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,