[][src]Struct radiate::models::neat::neat::LayerWrap

pub struct LayerWrap {
    pub layer_type: LayerType,
    pub layer: Box<dyn Layer>,
}

Fields

layer_type: LayerTypelayer: Box<dyn Layer>

Methods

impl LayerWrap[src]

pub fn as_ref<L: Layer>(&self) -> &L[src]

pub fn as_mut<L: Layer>(&mut self) -> &mut L[src]

Trait Implementations

impl Debug for LayerWrap[src]

impl<'de> Deserialize<'de> for LayerWrap[src]

impl Serialize for LayerWrap[src]

Auto Trait Implementations

impl !RefUnwindSafe for LayerWrap

impl !Send for LayerWrap

impl !Sync for LayerWrap

impl Unpin for LayerWrap

impl !UnwindSafe for LayerWrap

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any + Serialize + Deserialize
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Debug for T where
    T: Debug + Serialize + Deserialize + ?Sized
[src]

impl<T> Deserialize for T where
    T: DeserializeOwned
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

impl<T> Type for T where
    T: ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,