scroll::ctx

Trait 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)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§