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
type GradientId
[src]
Required methods
fn gid(&self) -> Result<Self::GradientId>
[src]
Implementors
impl<A> HasGradientId for Value<A>
[src]
impl<A> HasGradientId for Value<A>
[src]