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
Required methods
fn as_element(&self) -> &Self::Element
fn as_element(&self) -> &Self::Element
Returns a reference to the element enclosed in the type.