pub trait LayerFrom<I: ?Sized> {
type Output;
type Error;
// Required method
fn build(&self, input: &I) -> Result<Self::Output, Self::Error>;
}Expand description
Build an extra cell from a reference to the output of a previous layer.
Required Associated Types§
Sourcetype Output
type Output
Value produced from input when LayerFrom::build succeeds.
Sourcetype Error
type Error
Error type when LayerFrom::build fails.