Trait scroll::ctx::FromCtx [−][src]
pub trait FromCtx<Ctx: Copy = (), This: ?Sized = [u8]> { fn from_ctx(this: &This, ctx: Ctx) -> Self; }
Reads Self
from This
using the context Ctx
; must not fail
Required methods
Loading content...Implementations on Foreign Types
impl<'a, T> FromCtx<Endian, T> for u8 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u8 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for i8 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i8 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for u16 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u16 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for i16 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i16 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for u32 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u32 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for i32 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i32 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for u64 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u64 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for i64 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i64 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for u128 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u128 where
T: AsRef<[u8]>,
[src]impl<'a, T> FromCtx<Endian, T> for i128 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i128 where
T: AsRef<[u8]>,
[src]