Trait gad::net::HasGradientId[][src]

pub trait HasGradientId {
    type GradientId;
    fn gid(&self) -> Result<Self::GradientId>;
}

A value with a gradient-id.

  • This is possibly a placeholder in the case of algebras without gradients.
  • Used to define Net::GradientInfo in a generic way.

Associated Types

Loading content...

Required methods

fn gid(&self) -> Result<Self::GradientId>[src]

Loading content...

Implementors

impl<A> HasGradientId for Value<A>[src]

type GradientId = GradientId<A>

Loading content...