Trait scroll::ctx::TryRefFromCtx
[−]
[src]
pub trait TryRefFromCtx<Ctx: Copy = (usize, usize, DefaultCtx), This: ?Sized = [u8]> { type Error; fn try_ref_from_ctx(from: &This, ctx: Ctx) -> Result<&Self, Self::Error>; }
Tries to read a reference to Self
from This
using the context Ctx