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

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

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

Associated Types

The element type.

Required methods

Returns a reference to the element enclosed in the type.

Implementors