Trait scroll::Gwrite [] [src]

pub trait Gwrite<Ctx = Endian, E = Error, I = usize, TryCtx = (I, Ctx), SliceCtx = (I, I, Ctx)>: Pwrite<Ctx, E, I, TryCtx, SliceCtx> + TryOffsetWith<Ctx, E, I> where
    E: Debug,
    Ctx: Copy + Default + Debug,
    I: AddAssign + Copy + Add + Default + Debug,
    TryCtx: Copy + Default + Debug,
    SliceCtx: Copy + Default + Debug
{ fn gwrite_unsafe<N: SizeWith<Ctx, Units = I> + TryIntoCtx<TryCtx, Error = E>>(
        &mut self,
        n: N,
        offset: &mut I,
        ctx: Ctx
    ) { ... } fn gwrite<N: SizeWith<Ctx, Units = I> + TryIntoCtx<TryCtx, Error = E>>(
        &mut self,
        n: N,
        offset: &mut I
    ) -> Result<(), E> { ... } fn gwrite_with<N: SizeWith<Ctx, Units = I> + TryIntoCtx<TryCtx, Error = E>>(
        &mut self,
        n: N,
        offset: &mut I,
        ctx: Ctx
    ) -> Result<(), E> { ... } }

The Greater Write (Gwrite) writes a value into its mutable insides, at a mutable offset

Provided Methods

Write n into self at offset, with a default Ctx. Updates the offset.

Write n into self at offset, with the ctx. Updates the offset.

Implementors