pub enum I64Be {}
Expand description
Signed 64-bit binary type.
Trait Implementations
sourceimpl<'a> ReadUnchecked<'a> for I64Be
impl<'a> ReadUnchecked<'a> for I64Be
sourceimpl<T> WriteBinary<T> for I64Be where
T: Into<i64>,
impl<T> WriteBinary<T> for I64Be where
T: Into<i64>,
sourcefn write<C: WriteContext>(ctxt: &mut C, t: T) -> Result<(), WriteError>
fn write<C: WriteContext>(ctxt: &mut C, t: T) -> Result<(), WriteError>
Write the binary representation of Self to ctxt
.
impl Copy for I64Be
Auto Trait Implementations
impl RefUnwindSafe for I64Be
impl Send for I64Be
impl Sync for I64Be
impl Unpin for I64Be
impl UnwindSafe for I64Be
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, T> ReadBinary<'a> for T where
T: ReadUnchecked<'a>,
impl<'a, T> ReadBinary<'a> for T where
T: ReadUnchecked<'a>,
type HostType = <T as ReadUnchecked<'a>>::HostType
fn read(
ctxt: &mut ReadCtxt<'a>
) -> Result<<T as ReadBinary<'a>>::HostType, ParseError>
sourceimpl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
impl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
sourceimpl<'a, T> ReadFixedSizeDep<'a> for T where
T: ReadUnchecked<'a>,
impl<'a, T> ReadFixedSizeDep<'a> for T where
T: ReadUnchecked<'a>,
sourceimpl<T, HostType> WriteBinaryDep<HostType> for T where
T: WriteBinary<HostType>,
impl<T, HostType> WriteBinaryDep<HostType> for T where
T: WriteBinary<HostType>,
type Output = <T as WriteBinary<HostType>>::Output
type Output = <T as WriteBinary<HostType>>::Output
The type of the value returned by write_dep
.
sourcefn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError> where
C: WriteContext,
fn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError> where
C: WriteContext,
Write the binary representation of Self to ctxt
.