Trait burn::serde::Deserialize

source ·
pub trait Deserialize<'de>: Sized {
    // Required method
    fn deserialize<D>(
        deserializer: D,
    ) -> Result<Self, <D as Deserializer<'de>>::Error>
       where D: Deserializer<'de>;
}
Expand description

A data structure that can be deserialized from any data format supported by Serde.

Serde provides Deserialize implementations for many Rust primitive and standard library types. The complete list is here. All of these can be deserialized using Serde out of the box.

Additionally, Serde provides a procedural macro called serde_derive to automatically generate Deserialize implementations for structs and enums in your program. See the derive section of the manual for how to use this.

In rare cases it may be necessary to implement Deserialize manually for some type in your program. See the Implementing Deserialize section of the manual for more about this.

Third-party crates may provide Deserialize implementations for types that they expose. For example the linked-hash-map crate provides a LinkedHashMap<K, V> type that is deserializable by Serde because the crate provides an implementation of Deserialize for it.

§Lifetime

The 'de lifetime of this trait is the lifetime of data that may be borrowed by Self when deserialized. See the page Understanding deserializer lifetimes for a more detailed explanation of these lifetimes.

Required Methods§

source

fn deserialize<D>( deserializer: D, ) -> Result<Self, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer.

See the Implementing Deserialize section of the manual for more information about how to implement this method.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, 'de> Deserialize<'de> for &'a Bytes
where 'de: 'a,

source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a Bytes, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'a, 'de, const N: usize> Deserialize<'de> for &'a ByteArray<N>
where 'de: 'a,

source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a ByteArray<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for IpAddr

source§

fn deserialize<D>( deserializer: D, ) -> Result<IpAddr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for SocketAddr

source§

fn deserialize<D>( deserializer: D, ) -> Result<SocketAddr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Value

source§

fn deserialize<D>( deserializer: D, ) -> Result<Value, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for bool

source§

fn deserialize<D>( deserializer: D, ) -> Result<bool, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for char

source§

fn deserialize<D>( deserializer: D, ) -> Result<char, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for f32

source§

fn deserialize<D>( deserializer: D, ) -> Result<f32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for f64

source§

fn deserialize<D>( deserializer: D, ) -> Result<f64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for i8

source§

fn deserialize<D>( deserializer: D, ) -> Result<i8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for i16

source§

fn deserialize<D>( deserializer: D, ) -> Result<i16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for i32

source§

fn deserialize<D>( deserializer: D, ) -> Result<i32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for i64

source§

fn deserialize<D>( deserializer: D, ) -> Result<i64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for i128

source§

fn deserialize<D>( deserializer: D, ) -> Result<i128, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for isize

source§

fn deserialize<D>( deserializer: D, ) -> Result<isize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for u8

source§

fn deserialize<D>( deserializer: D, ) -> Result<u8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for u16

source§

fn deserialize<D>( deserializer: D, ) -> Result<u16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for u32

source§

fn deserialize<D>( deserializer: D, ) -> Result<u32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for u64

source§

fn deserialize<D>( deserializer: D, ) -> Result<u64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for u128

source§

fn deserialize<D>( deserializer: D, ) -> Result<u128, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for ()

source§

fn deserialize<D>( deserializer: D, ) -> Result<(), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for usize

source§

fn deserialize<D>( deserializer: D, ) -> Result<usize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Box<str>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<str>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Box<CStr>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<CStr>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Box<OsStr>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<OsStr>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Box<Path>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<Path>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for CString

source§

fn deserialize<D>( deserializer: D, ) -> Result<CString, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for String

source§

fn deserialize<D>( deserializer: D, ) -> Result<String, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Ipv4Addr

source§

fn deserialize<D>( deserializer: D, ) -> Result<Ipv4Addr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Ipv6Addr

source§

fn deserialize<D>( deserializer: D, ) -> Result<Ipv6Addr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for SocketAddrV4

source§

fn deserialize<D>( deserializer: D, ) -> Result<SocketAddrV4, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for SocketAddrV6

source§

fn deserialize<D>( deserializer: D, ) -> Result<SocketAddrV6, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<i8>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<i16>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<i32>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<i64>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<i128>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<isize>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<isize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<u8>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<u16>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<u32>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<u64>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<u128>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for NonZero<usize>

source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<usize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<i8>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<i16>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<i32>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<i64>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<i128>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<isize>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<isize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<u8>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<u16>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<u32>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<u64>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<u128>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Saturating<usize>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<usize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicBool

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicBool, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicI8

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicI16

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicI32

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicI64

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicIsize

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicIsize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicU8

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicU16

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicU32

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicU64

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for AtomicUsize

source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicUsize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Duration

source§

fn deserialize<D>( deserializer: D, ) -> Result<Duration, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for OsString

source§

fn deserialize<D>( deserializer: D, ) -> Result<OsString, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for PathBuf

source§

fn deserialize<D>( deserializer: D, ) -> Result<PathBuf, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for SystemTime

source§

fn deserialize<D>( deserializer: D, ) -> Result<SystemTime, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for ByteBuf

source§

fn deserialize<D>( deserializer: D, ) -> Result<ByteBuf, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Map<String, Value>

source§

fn deserialize<D>( deserializer: D, ) -> Result<Map<String, Value>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de> Deserialize<'de> for Number

source§

fn deserialize<D>( deserializer: D, ) -> Result<Number, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for BenchmarkComputations

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<BenchmarkComputations, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for BenchmarkDurations

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<BenchmarkDurations, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for BinaryOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<BinaryOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Binding

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Binding, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Branch

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Branch, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for ClampOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ClampOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for CompareAndSwapOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CompareAndSwapOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for ConstantScalarValue

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ConstantScalarValue, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for CoopMma

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CoopMma, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for CopyBulkOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CopyBulkOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for CopyOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CopyOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Dtype

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Dtype, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Dtype

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Dtype, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Elem

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Elem, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for FloatKind

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<FloatKind, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for FmaOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<FmaOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for If

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<If, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for IfElse

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<IfElse, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for InitOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<InitOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for IntKind

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<IntKind, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Item

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Item, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for JitAutotuneKey

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<JitAutotuneKey, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for KernelDefinition

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<KernelDefinition, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for LineInitOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<LineInitOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Location

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Location, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Loop

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Loop, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for MatmulAutotuneKey

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<MatmulAutotuneKey, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Matrix

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Matrix, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for MatrixIdent

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<MatrixIdent, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for MatrixLayout

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<MatrixLayout, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Metadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Metadata, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Metadata

§

fn deserialize<D>( deserializer: D, ) -> Result<Metadata, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Metadata

§

fn deserialize<D>( deserializer: D, ) -> Result<Metadata, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Operation

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Operation, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Operator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Operator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for RangeLoop

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<RangeLoop, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for ReadGlobalOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ReadGlobalOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for ReadGlobalWithLayoutOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ReadGlobalWithLayoutOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for ReadingStrategy

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ReadingStrategy, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for ReduceAutotuneKey

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ReduceAutotuneKey, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Scope

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Scope, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Select

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Select, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for SliceOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<SliceOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Subcube

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Subcube, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Switch

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Switch, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Synchronization

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Synchronization, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for TensorInfo

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TensorInfo, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for TensorInfo

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TensorInfo, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for TimingMethod

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TimingMethod, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for UnaryOperator

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<UnaryOperator, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Variable

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Variable, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl<'de> Deserialize<'de> for Visibility

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Visibility, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

source§

impl<'de, 'a> Deserialize<'de> for &'a str
where 'de: 'a,

source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a str, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, 'a> Deserialize<'de> for &'a Path
where 'de: 'a,

source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a Path, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, 'a> Deserialize<'de> for &'a [u8]
where 'de: 'a,

source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a [u8], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
where T: ToOwned + ?Sized, <T as ToOwned>::Owned: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, Idx> Deserialize<'de> for Range<Idx>
where Idx: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Range<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, Idx> Deserialize<'de> for RangeFrom<Idx>
where Idx: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<RangeFrom<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, Idx> Deserialize<'de> for RangeInclusive<Idx>
where Idx: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<RangeInclusive<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, Idx> Deserialize<'de> for RangeTo<Idx>
where Idx: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<RangeTo<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, K, V> Deserialize<'de> for BTreeMap<K, V>
where K: Deserialize<'de> + Ord, V: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<BTreeMap<K, V>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, K, V, S> Deserialize<'de> for HashMap<K, V, S>
where K: Deserialize<'de> + Eq + Hash, V: Deserialize<'de>, S: BuildHasher + Default,

source§

fn deserialize<D>( deserializer: D, ) -> Result<HashMap<K, V, S>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

§

impl<'de, K, V, S, A> Deserialize<'de> for HashMap<K, V, S, A>
where K: Deserialize<'de> + Eq + Hash, V: Deserialize<'de>, S: BuildHasher + Default, A: Allocator + Default,

§

fn deserialize<D>( deserializer: D, ) -> Result<HashMap<K, V, S, A>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1> Deserialize<'de> for (T0, T1)
where T0: Deserialize<'de>, T1: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2> Deserialize<'de> for (T0, T1, T2)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3> Deserialize<'de> for (T0, T1, T2, T3)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3, T4> Deserialize<'de> for (T0, T1, T2, T3, T4)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5> Deserialize<'de> for (T0, T1, T2, T3, T4, T5)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5, T6), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>, T9: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>, T9: Deserialize<'de>, T10: Deserialize<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>, T9: Deserialize<'de>, T10: Deserialize<'de>, T11: Deserialize<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>, T9: Deserialize<'de>, T10: Deserialize<'de>, T11: Deserialize<'de>, T12: Deserialize<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>, T9: Deserialize<'de>, T10: Deserialize<'de>, T11: Deserialize<'de>, T12: Deserialize<'de>, T13: Deserialize<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>, T9: Deserialize<'de>, T10: Deserialize<'de>, T11: Deserialize<'de>, T12: Deserialize<'de>, T13: Deserialize<'de>, T14: Deserialize<'de>,

source§

impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>, T3: Deserialize<'de>, T4: Deserialize<'de>, T5: Deserialize<'de>, T6: Deserialize<'de>, T7: Deserialize<'de>, T8: Deserialize<'de>, T9: Deserialize<'de>, T10: Deserialize<'de>, T11: Deserialize<'de>, T12: Deserialize<'de>, T13: Deserialize<'de>, T14: Deserialize<'de>, T15: Deserialize<'de>,

source§

impl<'de, T> Deserialize<'de> for Bound<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Bound<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for Option<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Option<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 0]

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 0], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 1]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 1], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 2]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 2], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 3]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 3], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 4]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 4], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 5]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 5], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 6]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 6], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 7]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 7], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 8]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 8], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 9]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 9], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 10]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 10], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 11]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 11], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 12]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 12], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 13]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 13], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 14]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 14], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 15]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 15], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 16]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 16], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 17]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 17], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 18]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 18], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 19]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 19], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 20]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 20], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 21]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 21], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 22]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 22], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 23]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 23], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 24]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 24], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 25]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 25], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 26]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 26], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 27]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 27], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 28]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 28], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 29]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 29], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 30]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 30], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 31]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 31], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for [T; 32]
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 32], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for (T,)
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<(T,), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

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

source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<[T]>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for Box<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for BinaryHeap<T>
where T: Deserialize<'de> + Ord,

source§

fn deserialize<D>( deserializer: D, ) -> Result<BinaryHeap<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for BTreeSet<T>
where T: Deserialize<'de> + Eq + Ord,

source§

fn deserialize<D>( deserializer: D, ) -> Result<BTreeSet<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for LinkedList<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<LinkedList<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for VecDeque<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<VecDeque<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for Vec<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Vec<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for Cell<T>
where T: Deserialize<'de> + Copy,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Cell<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for RefCell<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<RefCell<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for Reverse<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Reverse<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for PhantomData<T>
where T: ?Sized,

source§

fn deserialize<D>( deserializer: D, ) -> Result<PhantomData<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for Wrapping<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Wrapping<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for Mutex<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Mutex<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T> Deserialize<'de> for RwLock<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<RwLock<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

§

impl<'de, T> Deserialize<'de> for Sequence<T>
where T: CubeType + Deserialize<'de>,

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Sequence<T>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>
where T: Deserialize<'de>, E: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D, ) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, T, S> Deserialize<'de> for HashSet<T, S>
where T: Deserialize<'de> + Eq + Hash, S: BuildHasher + Default,

source§

fn deserialize<D>( deserializer: D, ) -> Result<HashSet<T, S>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

§

impl<'de, T, S, A> Deserialize<'de> for HashSet<T, S, A>
where T: Deserialize<'de> + Eq + Hash, S: BuildHasher + Default, A: Allocator + Default,

§

fn deserialize<D>( deserializer: D, ) -> Result<HashSet<T, S, A>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

source§

impl<'de, const N: usize> Deserialize<'de> for ByteArray<N>

source§

fn deserialize<D>( deserializer: D, ) -> Result<ByteArray<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Implementors§

§

impl<'de> Deserialize<'de> for GradientClippingConfig

§

impl<'de> Deserialize<'de> for Initializer

§

impl<'de> Deserialize<'de> for PaddingConfig1d

§

impl<'de> Deserialize<'de> for PaddingConfig2d

§

impl<'de> Deserialize<'de> for PaddingConfig3d

§

impl<'de> Deserialize<'de> for burn::nn::interpolate::InterpolateMode

§

impl<'de> Deserialize<'de> for DType

§

impl<'de> Deserialize<'de> for Distribution

§

impl<'de> Deserialize<'de> for burn::tensor::ops::InterpolateMode

§

impl<'de> Deserialize<'de> for QuantizationScheme

§

impl<'de> Deserialize<'de> for QuantizationStrategy

§

impl<'de> Deserialize<'de> for QuantizationType

§

impl<'de> Deserialize<'de> for BaseOperationDescription

§

impl<'de> Deserialize<'de> for BoolOperationDescription

§

impl<'de> Deserialize<'de> for FloatOperationDescription

§

impl<'de> Deserialize<'de> for IntOperationDescription

§

impl<'de> Deserialize<'de> for InterpolateModeDescription

§

impl<'de> Deserialize<'de> for ModuleOperationDescription

§

impl<'de> Deserialize<'de> for OperationDescription

§

impl<'de> Deserialize<'de> for TensorStatus

§

impl<'de> Deserialize<'de> for CubeDim

§

impl<'de> Deserialize<'de> for BoundingBox

§

impl<'de> Deserialize<'de> for MnistItem

§

impl<'de> Deserialize<'de> for CosineAnnealingLrSchedulerConfig

§

impl<'de> Deserialize<'de> for ExponentialLrSchedulerConfig

§

impl<'de> Deserialize<'de> for LinearLrSchedulerConfig

§

impl<'de> Deserialize<'de> for NoamLrSchedulerConfig

§

impl<'de> Deserialize<'de> for ConstantRecord

§

impl<'de> Deserialize<'de> for MultiHeadAttentionConfig

§

impl<'de> Deserialize<'de> for Conv1dConfig

§

impl<'de> Deserialize<'de> for Conv2dConfig

§

impl<'de> Deserialize<'de> for Conv3dConfig

§

impl<'de> Deserialize<'de> for ConvTranspose1dConfig

§

impl<'de> Deserialize<'de> for ConvTranspose2dConfig

§

impl<'de> Deserialize<'de> for ConvTranspose3dConfig

§

impl<'de> Deserialize<'de> for DeformConv2dConfig

§

impl<'de> Deserialize<'de> for GruConfig

§

impl<'de> Deserialize<'de> for Interpolate1dConfig

§

impl<'de> Deserialize<'de> for Interpolate2dConfig

§

impl<'de> Deserialize<'de> for BinaryCrossEntropyLossConfig

§

impl<'de> Deserialize<'de> for CrossEntropyLossConfig

§

impl<'de> Deserialize<'de> for HuberLossConfig

§

impl<'de> Deserialize<'de> for AdaptiveAvgPool1dConfig

§

impl<'de> Deserialize<'de> for AdaptiveAvgPool2dConfig

§

impl<'de> Deserialize<'de> for AvgPool1dConfig

§

impl<'de> Deserialize<'de> for AvgPool2dConfig

§

impl<'de> Deserialize<'de> for MaxPool1dConfig

§

impl<'de> Deserialize<'de> for MaxPool2dConfig

§

impl<'de> Deserialize<'de> for BatchNormConfig

§

impl<'de> Deserialize<'de> for BiLstmConfig

§

impl<'de> Deserialize<'de> for DropoutConfig

§

impl<'de> Deserialize<'de> for EmbeddingConfig

§

impl<'de> Deserialize<'de> for GroupNormConfig

§

impl<'de> Deserialize<'de> for HardSigmoidConfig

§

impl<'de> Deserialize<'de> for InstanceNormConfig

§

impl<'de> Deserialize<'de> for LayerNormConfig

§

impl<'de> Deserialize<'de> for LeakyReluConfig

§

impl<'de> Deserialize<'de> for LinearConfig

§

impl<'de> Deserialize<'de> for LstmConfig

§

impl<'de> Deserialize<'de> for PReluConfig

§

impl<'de> Deserialize<'de> for PositionalEncodingConfig

§

impl<'de> Deserialize<'de> for RmsNormConfig

§

impl<'de> Deserialize<'de> for RotaryEncodingConfig

§

impl<'de> Deserialize<'de> for SwiGluConfig

§

impl<'de> Deserialize<'de> for Unfold4dConfig

§

impl<'de> Deserialize<'de> for PositionWiseFeedForwardConfig

§

impl<'de> Deserialize<'de> for TransformerDecoderConfig

§

impl<'de> Deserialize<'de> for TransformerEncoderConfig

§

impl<'de> Deserialize<'de> for WeightDecayConfig

§

impl<'de> Deserialize<'de> for MomentumConfig

§

impl<'de> Deserialize<'de> for AdaGradConfig

§

impl<'de> Deserialize<'de> for AdamConfig

§

impl<'de> Deserialize<'de> for AdamWConfig

§

impl<'de> Deserialize<'de> for RmsPropConfig

§

impl<'de> Deserialize<'de> for SgdConfig

§

impl<'de> Deserialize<'de> for TensorData

§

impl<'de> Deserialize<'de> for BurnMetadata

§

impl<'de> Deserialize<'de> for BurnRecordNoItem

§

impl<'de> Deserialize<'de> for AdaptiveAvgPool1dBackwardDescription

§

impl<'de> Deserialize<'de> for AdaptiveAvgPool1dDescription

§

impl<'de> Deserialize<'de> for AdaptiveAvgPool2dBackwardDescription

§

impl<'de> Deserialize<'de> for AdaptiveAvgPool2dDescription

§

impl<'de> Deserialize<'de> for AvgPool1dBackwardDescription

§

impl<'de> Deserialize<'de> for AvgPool1dDescription

§

impl<'de> Deserialize<'de> for AvgPool2dBackwardDescription

§

impl<'de> Deserialize<'de> for AvgPool2dDescription

§

impl<'de> Deserialize<'de> for BinaryOperationDescription

§

impl<'de> Deserialize<'de> for CatOperationDescription

§

impl<'de> Deserialize<'de> for Conv1dDescription

§

impl<'de> Deserialize<'de> for Conv1dOptionsDescription

§

impl<'de> Deserialize<'de> for Conv2dDescription

§

impl<'de> Deserialize<'de> for Conv2dOptionsDescription

§

impl<'de> Deserialize<'de> for Conv3dDescription

§

impl<'de> Deserialize<'de> for Conv3dOptionsDescription

§

impl<'de> Deserialize<'de> for ConvTranspose1dDescription

§

impl<'de> Deserialize<'de> for ConvTranspose1dOptionsDescription

§

impl<'de> Deserialize<'de> for ConvTranspose2dDescription

§

impl<'de> Deserialize<'de> for ConvTranspose2dOptionsDescription

§

impl<'de> Deserialize<'de> for ConvTranspose3dDescription

§

impl<'de> Deserialize<'de> for ConvTranspose3dOptionsDescription

§

impl<'de> Deserialize<'de> for DeformConv2dBackwardDescription

§

impl<'de> Deserialize<'de> for DeformConv2dDescription

§

impl<'de> Deserialize<'de> for DeformableConv2dOptionsDescription

§

impl<'de> Deserialize<'de> for DequantizeOperationDescription

§

impl<'de> Deserialize<'de> for EmbeddingBackwardDescription

§

impl<'de> Deserialize<'de> for EmbeddingDescription

§

impl<'de> Deserialize<'de> for ExpandDescription

§

impl<'de> Deserialize<'de> for ExpandOperationDescription

§

impl<'de> Deserialize<'de> for FlipOperationDescription

§

impl<'de> Deserialize<'de> for GatherOperationDescription

§

impl<'de> Deserialize<'de> for InterpolateBackwardDescription

§

impl<'de> Deserialize<'de> for InterpolateDescription

§

impl<'de> Deserialize<'de> for InterpolateOptionsDescription

§

impl<'de> Deserialize<'de> for MaskWhereOperationDescription

§

impl<'de> Deserialize<'de> for MaxPool1dDescription

§

impl<'de> Deserialize<'de> for MaxPool1dWithIndicesBackwardDescription

§

impl<'de> Deserialize<'de> for MaxPool1dWithIndicesDescription

§

impl<'de> Deserialize<'de> for MaxPool2dDescription

§

impl<'de> Deserialize<'de> for MaxPool2dWithIndicesBackwardDescription

§

impl<'de> Deserialize<'de> for MaxPool2dWithIndicesDescription

§

impl<'de> Deserialize<'de> for PermuteOperationDescription

§

impl<'de> Deserialize<'de> for QuantizationParametersDescription

§

impl<'de> Deserialize<'de> for QuantizeOperationDescription

§

impl<'de> Deserialize<'de> for QuantizedTensorDescription

§

impl<'de> Deserialize<'de> for RandomOperationDescription

§

impl<'de> Deserialize<'de> for ReduceDimWithIndicesDescription

§

impl<'de> Deserialize<'de> for RepeatDimOperationDescription

§

impl<'de> Deserialize<'de> for ReshapeDescription

§

impl<'de> Deserialize<'de> for ScatterOperationDescription

§

impl<'de> Deserialize<'de> for SelectAssignOperationDescription

§

impl<'de> Deserialize<'de> for SelectOperationDescription

§

impl<'de> Deserialize<'de> for SliceAssignOperationDescription

§

impl<'de> Deserialize<'de> for SliceOperationDescription

§

impl<'de> Deserialize<'de> for SwapDimsDescription

§

impl<'de> Deserialize<'de> for TensorDescription

§

impl<'de> Deserialize<'de> for TensorId

§

impl<'de> Deserialize<'de> for UnaryOperationDescription

source§

impl<'de> Deserialize<'de> for bf16

source§

impl<'de> Deserialize<'de> for f16

source§

impl<'de> Deserialize<'de> for IgnoredAny

§

impl<'de, B, S> Deserialize<'de> for MultiHeadAttentionRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for Conv1dRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for Conv2dRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for Conv3dRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for ConvTranspose1dRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for ConvTranspose2dRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for ConvTranspose3dRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for DeformConv2dRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for GruRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for BinaryCrossEntropyLossRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for CrossEntropyLossRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for BiLstmRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for EmbeddingRecordItem<B, S>
where B: Backend, S: PrecisionSettings, <<Param<Tensor<B, 2>> as Module<B>>::Record as Record<B>>::Item<S>: Serialize + DeserializeOwned,

§

impl<'de, B, S> Deserialize<'de> for GateControllerRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for GroupNormRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for InstanceNormRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for LayerNormRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for LinearRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for LstmRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for PReluRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for PositionalEncodingRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for RmsNormRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for RotaryEncodingRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for SwiGluRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for PositionWiseFeedForwardRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for TransformerDecoderLayerRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for TransformerDecoderRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for TransformerEncoderLayerRecordItem<B, S>

§

impl<'de, B, S> Deserialize<'de> for TransformerEncoderRecordItem<B, S>

§

impl<'de, B, const D: usize, K> Deserialize<'de> for Tensor<B, D, K>
where B: Backend, K: BasicOps<B>, <K as BasicOps<B>>::Elem: Debug + Copy + Deserialize<'de>,

§

impl<'de, B, const D: usize, S> Deserialize<'de> for BatchNormRecordItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for WeightDecayStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for MomentumStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for AdaGradStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for AdamStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for AdamWStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for AdaptiveMomentumStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for AdaptiveMomentumWStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for CenteredStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for LrDecayStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for RmsPropMomentumStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for RmsPropStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for SgdStateItem<B, D, S>

§

impl<'de, B, const D: usize, S> Deserialize<'de> for SquareAvgStateItem<B, D, S>

§

impl<'de, E> Deserialize<'de> for NumericOperationDescription<E>
where E: Deserialize<'de>,

§

impl<'de, E> Deserialize<'de> for ClampOperationDescription<E>
where E: Deserialize<'de>,

§

impl<'de, E> Deserialize<'de> for MaskFillOperationDescription<E>
where E: Deserialize<'de>,

§

impl<'de, E> Deserialize<'de> for ScalarOperationDescription<E>
where E: Deserialize<'de>,

§

impl<'de, E> Deserialize<'de> for DataSerialize<E>
where E: Deserialize<'de>,

§

impl<'de, E, Q> Deserialize<'de> for SymmetricQuantization<E, Q>
where E: Float + Deserialize<'de>, Q: PrimInt,

§

impl<'de, E, Q, A> Deserialize<'de> for AffineQuantization<E, Q, A>
where E: Float + Deserialize<'de>, Q: PrimInt + Deserialize<'de>, A: PrimInt,

§

impl<'de, I, B> Deserialize<'de> for BurnRecord<I, B>
where B: Backend, I: Deserialize<'de>,

§

impl<'de, O, B, S> Deserialize<'de> for AdaptorRecordItem<O, B, S>

§

impl<'de, O, B, S> Deserialize<'de> for AdaptorRecordItemV1<O, B, S>

§

impl<'de, T> Deserialize<'de> for ParamSerde<T>
where T: Deserialize<'de>,