#[non_exhaustive]pub struct FormatSpec { /* private fields */ }Expand description
A format specification.
Implementations§
Trait Implementations§
Source§impl Clone for FormatSpec
impl Clone for FormatSpec
impl Copy for FormatSpec
Source§impl Debug for FormatSpec
impl Debug for FormatSpec
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for FormatSpecwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Binary, __A> for FormatSpecwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for FormatSpecwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Text, __A> for FormatSpecwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for FormatSpec
Available on crate feature serde only.
impl<'de> Deserialize<'de> for FormatSpec
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FormatSpec
impl Display for FormatSpec
Source§impl Encode<Binary> for FormatSpec
Available on crate feature musli02 only.
impl Encode<Binary> for FormatSpec
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = FormatSpec
type Encode = FormatSpec
The underlying type being encoded. Read more
Source§impl Encode<Text> for FormatSpec
Available on crate feature musli02 only.
impl Encode<Text> for FormatSpec
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = FormatSpec
type Encode = FormatSpec
The underlying type being encoded. Read more
Source§impl Serialize for FormatSpec
Available on crate feature serde only.
impl Serialize for FormatSpec
Available on crate feature
serde only.Auto Trait Implementations§
impl Forget for FormatSpec
impl Freeze for FormatSpec
impl Move for FormatSpec
impl RefUnwindSafe for FormatSpec
impl Send for FormatSpec
impl Sync for FormatSpec
impl Unpin for FormatSpec
impl UnsafeUnpin for FormatSpec
impl UnwindSafe for FormatSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more