Trait HasDims
gad::core
pub trait HasDims { type Dims; fn dims(&self) -> Self::Dims; }
Obtain the dimensions of a value.
type Dims
fn dims(&self) -> Self::Dims
impl<T: HasDims> HasDims for Arc<T>
type Dims = T::Dims
impl<A> HasDims for Value<A> where A: HasDims,
type Dims = A::Dims
impl<T: Number> HasDims for T
type Dims = ()
fn dims(&self)