Trait scroll::Gwrite
[−]
[src]
pub trait Gwrite<Ctx = Endian, E = Error, I = usize, TryCtx = (I, Ctx), SliceCtx = (I, I, Ctx)>: Pwrite<Ctx, E, I> + 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<(I, Ctx), Error=E>>(&mut self,
n: N,
offset: &mut I,
ctx: Ctx) { ... } fn gwrite<N: SizeWith<Ctx, Units=I> + TryIntoCtx<(I, Ctx), Error=E>>(&mut self,
n: N,
offset: &mut I)
-> Result<(), E> { ... } fn gwrite_with<N: SizeWith<Ctx, Units=I> + TryIntoCtx<(I, Ctx), 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
fn gwrite_unsafe<N: SizeWith<Ctx, Units=I> + TryIntoCtx<(I, Ctx), Error=E>>(&mut self,
n: N,
offset: &mut I,
ctx: Ctx)
n: N,
offset: &mut I,
ctx: Ctx)
fn gwrite<N: SizeWith<Ctx, Units=I> + TryIntoCtx<(I, Ctx), Error=E>>(&mut self,
n: N,
offset: &mut I)
-> Result<(), E>
n: N,
offset: &mut I)
-> Result<(), E>
fn gwrite_with<N: SizeWith<Ctx, Units=I> + TryIntoCtx<(I, Ctx), Error=E>>(&mut self,
n: N,
offset: &mut I,
ctx: Ctx)
-> Result<(), E>
n: N,
offset: &mut I,
ctx: Ctx)
-> Result<(), E>