Trait scroll::ctx::IntoCtx

source ·
pub trait IntoCtx<Ctx: Copy = (), This: ?Sized = [u8]>: Sized {
    // Required method
    fn into_ctx(self, _: &mut This, ctx: Ctx);
}
Expand description

Writes Self into This using the context Ctx

Required Methods§

source

fn into_ctx(self, _: &mut This, ctx: Ctx)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoCtx<Endian> for f32

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for f64

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for i8

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for i16

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for i32

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for i64

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for i128

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for u8

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for u16

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for u32

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for u64

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl IntoCtx<Endian> for u128

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a f32

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a f64

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a i8

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a i16

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a i32

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a i64

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a i128

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a u8

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a u16

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a u32

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a u64

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

source§

impl<'a> IntoCtx<Endian> for &'a u128

source§

fn into_ctx(self, dst: &mut [u8], le: Endian)

Implementors§