Trait concrete_core::math::tensor::AsRefElement[][src]

pub trait AsRefElement {
    type Element;
    fn as_element(&self) -> &Self::Element;
}

A trait allowing to treat a value as a reference to an alement of a different type.

Associated Types

type Element[src]

The element type.

Loading content...

Required methods

fn as_element(&self) -> &Self::Element[src]

Returns a reference to the element enclosed in the type.

Loading content...

Implementors

impl<Cont> AsRefElement for Monomial<Cont> where
    Monomial<Cont>: AsRefTensor
[src]

type Element = <Monomial<Cont> as AsRefTensor>::Element

Loading content...