Struct sval::BinarySlice
source · #[repr(transparent)]pub struct BinarySlice(_);
Expand description
An adapter that streams a slice of 8bit unsigned integers as binary.
For fixed-size arrays, see the BinaryArray
type.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for BinarySlice
impl AsRef<[u8]> for BinarySlice
source§impl Value for BinarySlice
impl Value for BinarySlice
source§fn stream<'sval, S: Stream<'sval> + ?Sized>(
&'sval self,
stream: &mut S
) -> Result
fn stream<'sval, S: Stream<'sval> + ?Sized>( &'sval self, stream: &mut S ) -> Result
Stream this value through a
Stream
.source§fn to_f32(&self) -> Option<f32>
fn to_f32(&self) -> Option<f32>
Try convert this value into a 32bit binary floating point number.