planus
0.3.1
WriteAs
Implementations on Foreign Types
&'a T
Box<T>
String
Vec<T>
[T; N]
[T]
bool
f32
f64
i16
i32
i64
i8
str
u16
u32
u64
u8
Implementors
In crate planus
?
Settings
Trait
planus
::
WriteAs
Copy item path
source
·
[
−
]
pub trait WriteAs<P: Primitive> { }
Expand description
Trait used by generated code to serialize primitive types.
Implementations on Foreign Types
§
source
§
impl
WriteAs
<
bool
> for
bool
source
§
impl
WriteAs
<
f32
> for
f32
source
§
impl
WriteAs
<
f64
> for
f64
source
§
impl
WriteAs
<
i8
> for
i8
source
§
impl
WriteAs
<
i16
> for
i16
source
§
impl
WriteAs
<
i32
> for
i32
source
§
impl
WriteAs
<
i64
> for
i64
source
§
impl
WriteAs
<
u8
> for
u8
source
§
impl
WriteAs
<
u16
> for
u16
source
§
impl
WriteAs
<
u32
> for
u32
source
§
impl
WriteAs
<
u64
> for
u64
source
§
impl
WriteAs
<
Offset
<
str
>> for
str
source
§
impl
WriteAs
<
Offset
<
str
>> for
String
source
§
impl<'a, P: Primitive, T: ?
Sized
+
WriteAs
<P>>
WriteAs
<P> for
&'a T
source
§
impl<P: Primitive, T: ?
Sized
+
WriteAs
<P>>
WriteAs
<P> for
Box
<T>
source
§
impl<T, P>
WriteAs
<
Offset
<
[P]
>> for
[T]
where P: Primitive, T:
VectorWrite
<P>,
source
§
impl<T, P>
WriteAs
<
Offset
<
[P]
>> for
Vec
<T>
where P: Primitive, T:
VectorWrite
<P>,
source
§
impl<T, P, const N:
usize
>
WriteAs
<
Offset
<
[P]
>> for
[T; N]
where P: Primitive, T:
VectorWrite
<P>,
Implementors
§
source
§
impl<T: ?
Sized
>
WriteAs
<
Offset
<T>> for
Offset
<T>