@@ -34,14 +34,14 @@ <h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
34
34
}</ code > </ pre > </ div >
35
35
</ div > </ details > < h2 id ="fields " class ="fields section-header "> Tuple Fields< a href ="#fields " class ="anchor "> §</ a > </ h2 > < span id ="structfield.0 " class ="structfield section-header "> < a href ="#structfield.0 " class ="anchor field "> §</ a > < code > 0: T</ code > </ span > < h2 id ="trait-implementations " class ="section-header "> Trait Implementations< a href ="#trait-implementations " class ="anchor "> §</ a > </ h2 > < div id ="trait-implementations-list "> < details class ="toggle implementors-toggle " open > < summary > < section id ="impl-Decode%3C'de,+Binary,+A%3E-for-Packed%3CT%3E " class ="impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#impl-Decode%3C'de,+Binary,+A%3E-for-Packed%3CT%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'de, T, A> < a class ="trait " href ="../trait.Decode.html " title ="trait musli::Decode "> Decode</ a > <'de, < a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > , A> for < a class ="struct " href ="struct.Packed.html " title ="struct musli::compat::Packed "> Packed</ a > <T>< div class ="where "> where
36
36
A: < a class ="trait " href ="../trait.Allocator.html " title ="trait musli::Allocator "> Allocator</ a > ,
37
- T: < a class ="trait " href ="../en/trait.EncodePacked.html " title ="trait musli::en::EncodePacked "> EncodePacked</ a > << a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > > + < a class ="trait " href ="../de/trait.DecodePacked.html " title ="trait musli::de::DecodePacked "> DecodePacked</ a > <'de, < a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > , A>,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedconstant.IS_BITWISE_DECODE-1 " class ="associatedconstant trait-impl "> < a class =&qu
10000
ot;src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#associatedconstant.IS_BITWISE_DECODE-1 " class ="anchor "> §</ a > < h4 class ="code-header "> const < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE " class ="constant "> IS_BITWISE_DECODE</ a > : < a class ="primitive " href ="https://doc.rust-lang.org/nightly/std/primitive.bool.html "> bool</ a > = false</ h4 > </ section > </ summary > < div class ='docblock '> Whether the type is packed. Packed types can be bitwise copied if the
37
+ T: < a class ="trait " href ="../en/trait.EncodePacked.html " title ="trait musli::en::EncodePacked "> EncodePacked</ a > << a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > > + < a class ="trait " href ="../de/trait.DecodePacked.html " title ="trait musli::de::DecodePacked "> DecodePacked</ a > <'de, < a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > , A>,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedconstant.IS_BITWISE_DECODE " class ="associatedconstant trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#associatedconstant.IS_BITWISE_DECODE " class ="anchor "> §</ a > < h4 class ="code-header "> const < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE " class ="constant "> IS_BITWISE_DECODE</ a > : < a class ="primitive " href ="https://doc.rust-lang.org/nightly/std/primitive.bool.html "> bool</ a > = false</ h4 > </ section > </ summary > < div class ='docblock '> Whether the type is packed. Packed types can be bitwise copied if the
38
38
representation of the serialization format is identical to the memory
39
- layout of the type. < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE "> Read more</ a > </ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.decode-1 " class ="method trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#method.decode-1 " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="../trait.Decode.html#tymethod.decode " class ="fn "> decode</ a > <T0>(_1: T0) -> < a class ="enum " href ="https://doc.rust-lang.org/nightly/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > <Self, <T0 as < a class ="trait " href ="../trait.Decoder.html " title ="trait musli::Decoder "> Decoder</ a > <'de>>::< a class ="associatedtype " href ="../trait.Decoder.html#associatedtype.Error " title ="type musli::Decoder::Error "> Error</ a > >< div class ="where "> where
39
+ layout of the type. < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE "> Read more</ a > </ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.decode " class ="method trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#method.decode " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="../trait.Decode.html#tymethod.decode " class ="fn "> decode</ a > <T0>(_1: T0) -> < a class ="enum " href ="https://doc.rust-lang.org/nightly/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > <Self, <T0 as < a class ="trait " href ="../trait.Decoder.html " title ="trait musli::Decoder "> Decoder</ a > <'de>>::< a class ="associatedtype " href ="../trait.Decoder.html#associatedtype.Error " title ="type musli::Decoder::Error "> Error</ a > >< div class ="where "> where
40
40
T0: < a class ="trait " href ="../trait.Decoder.html " title ="trait musli::Decoder "> Decoder</ a > <'de, Mode = < a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > , Allocator = A>,</ div > </ h4 > </ section > </ summary > < div class ='docblock '> Decode the current value.</ div > </ details > </ div > </ details > < details class ="toggle implementors-toggle " open > < summary > < section id ="impl-Decode%3C'de,+Text,+A%3E-for-Packed%3CT%3E " class ="impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#impl-Decode%3C'de,+Text,+A%3E-for-Packed%3CT%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'de, T, A> < a class ="trait " href ="../trait.Decode.html " title ="trait musli::Decode "> Decode</ a > <'de, < a class ="enum " href ="../mode/enum.Text.html " title ="enum musli::mode::Text "> Text</ a > , A> for < a class ="struct " href ="struct.Packed.html " title ="struct musli::compat::Packed "> Packed</ a > <T>< div class ="where "> where
41
41
A: < a class ="trait " href ="../trait.Allocator.html " title ="trait musli::Allocator "> Allocator</ a > ,
42
- T: < a class ="trait " href ="../en/trait.EncodePacked.html " title ="trait musli::en::EncodePacked "> EncodePacked</ a > << a class ="enum " href ="../mode/enum.Text.html " title ="enum musli::mode::Text "> Text</ a > > + < a class ="trait " href ="../de/trait.DecodePacked.html " title ="trait musli::de::DecodePacked "> DecodePacked</ a > <'de, < a class ="enum " href ="../mode/enum.Text.html " title ="enum musli::mode::Text "> Text</ a > , A>,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedconstant.IS_BITWISE_DECODE " class ="associatedconstant trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#associatedconstant.IS_BITWISE_DECODE " class ="anchor "> §</ a > < h4 class ="code-header "> const < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE " class ="constant "> IS_BITWISE_DECODE</ a > : < a class ="primitive " href ="https://doc.rust-lang.org/nightly/std/primitive.bool.html "> bool</ a > = false</ h4 > </ section > </ summary > < div class ='docblock '> Whether the type is packed. Packed types can be bitwise copied if the
42
+ T: < a class ="trait " href ="../en/trait.EncodePacked.html " title ="trait musli::en::EncodePacked "> EncodePacked</ a > << a class ="enum " href ="../mode/enum.Text.html " title ="enum musli::mode::Text "> Text</ a > > + < a class ="trait " href ="../de/trait.DecodePacked.html " title ="trait musli::de::DecodePacked "> DecodePacked</ a > <'de, < a class ="enum " href ="../mode/enum.Text.html " title ="enum musli::mode::Text "> Text</ a > , A>,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedconstant.IS_BITWISE_DECODE-1 " class ="associatedconstant trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#associatedconstant.IS_BITWISE_DECODE-1 " class ="anchor "> §</ a > < h4 class ="code-header "> const < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE " class ="constant "> IS_BITWISE_DECODE</ a > : < a class ="primitive " href ="https://doc.rust-lang.org/nightly/std/primitive.bool.html "> bool</ a > = false</ h4 > </ section > </ summary > < div class ='docblock '> Whether the type is packed. Packed types can be bitwise copied if the
43
43
representation of the serialization format is identical to the memory
44
- layout of the type. < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE "> Read more</ a > </ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.decode " class ="method trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#method.decode " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="../trait.Decode.html#tymethod.decode " class ="fn "> decode</ a > <T0>(_1: T0) -> < a class ="enum " href ="https://doc.rust-lang.org/nightly/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > <Self, <T0 as < a class ="trait " href ="../trait.Decoder.html " title ="trait musli::Decoder "> Decoder</ a > <'de>>::< a class ="associatedtype " href ="../trait.Decoder.html#associatedtype.Error " title ="type musli::Decoder::Error "> Error</ a > >< div class ="where "> where
44
+ layout of the type. < a href ="../trait.Decode.html#associatedconstant.IS_BITWISE_DECODE "> Read more</ a > </ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.decode-1 " class ="method trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#method.decode-1 " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="../trait.Decode.html#tymethod.decode " class ="fn "> decode</ a > <T0>(_1: T0) -> < a class ="enum " href ="https://doc.rust-lang.org/nightly/core/result/enum.Result.html " title ="enum core::result::Result "> Result</ a > <Self, <T0 as < a class ="trait " href ="../trait.Decoder.html " title ="trait musli::Decoder "> Decoder</ a > <'de>>::< a class ="associatedtype " href ="../trait.Decoder.html#associatedtype.Error " title ="type musli::Decoder::Error "> Error</ a > >< div class ="where "> where
45
45
T0: < a class ="trait " href ="../trait.Decoder.html " title ="trait musli::Decoder "> Decoder</ a > <'de, Mode = < a class ="enum " href ="../mode/enum.Text.html " title ="enum musli::mode::Text "> Text</ a > , Allocator = A>,</ div > </ h4 > </ section > </ summary > < div class ='docblock '> Decode the current value.</ div > </ details > </ div > </ details > < details class ="toggle implementors-toggle " open > < summary > < section id ="impl-Encode%3CBinary%3E-for-Packed%3CT%3E " class ="impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#impl-Encode%3CBinary%3E-for-Packed%3CT%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<T> < a class ="trait " href ="../trait.Encode.html " title ="trait musli::Encode "> Encode</ a > << a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > > for < a class ="struct " href ="struct.Packed.html " title ="struct musli::compat::Packed "> Packed</ a > <T>< div class ="where "> where
46
46
T: < a class ="trait " href ="../en/trait.EncodePacked.html " title ="trait musli::en::EncodePacked "> EncodePacked</ a > << a class ="enum " href ="../mode/enum.Binary.html " title ="enum musli::mode::Binary "> Binary</ a > >,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedconstant.IS_BITWISE_ENCODE " class ="associatedconstant trait-impl "> < a class ="src rightside " href ="../../src/musli/compat.rs.html#173 "> Source</ a > < a href ="#associatedconstant.IS_BITWISE_ENCODE " class ="anchor "> §</ a > < h4 class ="code-header "> const < a href ="../trait.Encode.html#associatedconstant.IS_BITWISE_ENCODE " class ="constant "> IS_BITWISE_ENCODE</ a > : < a class ="primitive " href ="https://doc.rust-lang.org/nightly/std/primitive.bool.html "> bool</ a > = false</ h4 > </ section > </ summary > < div class ='docblock '> Whether the type is packed. Packed types can be bitwise copied if the
47
47
representation of the serialization format is identical to the memory
0 commit comments