pub struct EntryWriter<'a> { /* private fields */ }
Expand description
A writer for a single entry in a tar archive.
This struct is returned by Builder::append_writer
and provides a
Write
implementation for adding content to an archive entry.
After writing all data to the entry, it must be finalized either by
explicitly calling EntryWriter::finish
or by letting it drop.
Implementations§
Trait Implementations§
Source§impl Drop for EntryWriter<'_>
impl Drop for EntryWriter<'_>
Source§impl Write for EntryWriter<'_>
impl Write for EntryWriter<'_>
Source§fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
Writes a buffer into this writer, returning how many bytes were written. Read more
Source§fn flush(&mut self) -> Result<(), Error>
fn flush(&mut self) -> Result<(), Error>
Flushes this output stream, ensuring that all intermediately buffered
contents reach their destination. Read more
Source§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
🔬This is a nightly-only experimental API. (
can_vector
)1.0.0 · Source§fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
Attempts to write an entire buffer into this writer. Read more
Source§fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
🔬This is a nightly-only experimental API. (
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Auto Trait Implementations§
impl<'a> Freeze for EntryWriter<'a>
impl<'a> !RefUnwindSafe for EntryWriter<'a>
impl<'a> !Send for EntryWriter<'a>
impl<'a> !Sync for EntryWriter<'a>
impl<'a> Unpin for EntryWriter<'a>
impl<'a> !UnwindSafe for EntryWriter<'a>
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
Convert the source color to the destination color using the specified
method.
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default.
Source§impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
Source§fn arrays_from(colors: C) -> T
fn arrays_from(colors: C) -> T
Cast a collection of colors into a collection of arrays.
Source§impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
Source§fn arrays_into(self) -> C
fn arrays_into(self) -> C
Cast this collection of arrays into a collection of colors.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
Source§type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters
when converting.Source§fn cam16_into_unclamped(
self,
parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>,
) -> T
fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self
into C
, using the provided parameters.Source§impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
Source§fn components_from(colors: C) -> T
fn components_from(colors: C) -> T
Cast a collection of colors into a collection of color components.
Source§impl<T> Downcast for T
impl<T> Downcast for T
Source§impl<T> FromAngle<T> for T
impl<T> FromAngle<T> for T
Source§fn from_angle(angle: T) -> T
fn from_angle(angle: T) -> T
Performs a conversion from
angle
.Source§impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
Source§fn from_stimulus(other: U) -> T
fn from_stimulus(other: U) -> T
Converts
other
into Self
, while performing the appropriate scaling,
rounding and clamping.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
Source§fn into_angle(self) -> U
fn into_angle(self) -> U
Performs a conversion into
T
.Source§impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
Source§type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters
when converting.Source§fn into_cam16_unclamped(
self,
parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>,
) -> T
fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self
into C
, using the provided parameters.Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoStimulus<T> for T
impl<T> IntoStimulus<T> for T
Source§fn into_stimulus(self) -> T
fn into_stimulus(self) -> T
Converts
self
into T
, while performing the appropriate scaling,
rounding and clamping.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.Source§impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
Source§type Error = <C as TryFromComponents<T>>::Error
type Error = <C as TryFromComponents<T>>::Error
The error for when
try_into_colors
fails to cast.Source§fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
Try to cast this collection of color components into a collection of
colors. Read more
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined
range, otherwise an
OutOfBounds
error is returned which contains
the unclamped color. Read moreSource§impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
Source§fn uints_from(colors: C) -> U
fn uints_from(colors: C) -> U
Cast a collection of colors into a collection of unsigned integers.
Source§impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
Source§fn uints_into(self) -> C
fn uints_into(self) -> C
Cast this collection of unsigned integers into a collection of colors.
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Source§impl<W> WriteBytesExt for W
impl<W> WriteBytesExt for W
Source§fn write_u8(&mut self, n: u8) -> Result<(), Error>
fn write_u8(&mut self, n: u8) -> Result<(), Error>
Writes an unsigned 8 bit integer to the underlying writer. Read more
Source§fn write_i8(&mut self, n: i8) -> Result<(), Error>
fn write_i8(&mut self, n: i8) -> Result<(), Error>
Writes a signed 8 bit integer to the underlying writer. Read more
Source§fn write_u16<T>(&mut self, n: u16) -> Result<(), Error>where
T: ByteOrder,
fn write_u16<T>(&mut self, n: u16) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned 16 bit integer to the underlying writer. Read more
Source§fn write_i16<T>(&mut self, n: i16) -> Result<(), Error>where
T: ByteOrder,
fn write_i16<T>(&mut self, n: i16) -> Result<(), Error>where
T: ByteOrder,
Writes a signed 16 bit integer to the underlying writer. Read more
Source§fn write_u24<T>(&mut self, n: u32) -> Result<(), Error>where
T: ByteOrder,
fn write_u24<T>(&mut self, n: u32) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned 24 bit integer to the underlying writer. Read more
Source§fn write_i24<T>(&mut self, n: i32) -> Result<(), Error>where
T: ByteOrder,
fn write_i24<T>(&mut self, n: i32) -> Result<(), Error>where
T: ByteOrder,
Writes a signed 24 bit integer to the underlying writer. Read more
Source§fn write_u32<T>(&mut self, n: u32) -> Result<(), Error>where
T: ByteOrder,
fn write_u32<T>(&mut self, n: u32) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned 32 bit integer to the underlying writer. Read more
Source§fn write_i32<T>(&mut self, n: i32) -> Result<(), Error>where
T: ByteOrder,
fn write_i32<T>(&mut self, n: i32) -> Result<(), Error>where
T: ByteOrder,
Writes a signed 32 bit integer to the underlying writer. Read more
Source§fn write_u48<T>(&mut self, n: u64) -> Result<(), Error>where
T: ByteOrder,
fn write_u48<T>(&mut self, n: u64) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned 48 bit integer to the underlying writer. Read more
Source§fn write_i48<T>(&mut self, n: i64) -> Result<(), Error>where
T: ByteOrder,
fn write_i48<T>(&mut self, n: i64) -> Result<(), Error>where
T: ByteOrder,
Writes a signed 48 bit integer to the underlying writer. Read more
Source§fn write_u64<T>(&mut self, n: u64) -> Result<(), Error>where
T: ByteOrder,
fn write_u64<T>(&mut self, n: u64) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned 64 bit integer to the underlying writer. Read more
Source§fn write_i64<T>(&mut self, n: i64) -> Result<(), Error>where
T: ByteOrder,
fn write_i64<T>(&mut self, n: i64) -> Result<(), Error>where
T: ByteOrder,
Writes a signed 64 bit integer to the underlying writer. Read more
Source§fn write_u128<T>(&mut self, n: u128) -> Result<(), Error>where
T: ByteOrder,
fn write_u128<T>(&mut self, n: u128) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned 128 bit integer to the underlying writer.
Source§fn write_i128<T>(&mut self, n: i128) -> Result<(), Error>where
T: ByteOrder,
fn write_i128<T>(&mut self, n: i128) -> Result<(), Error>where
T: ByteOrder,
Writes a signed 128 bit integer to the underlying writer.
Source§fn write_uint<T>(&mut self, n: u64, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
fn write_uint<T>(&mut self, n: u64, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned n-bytes integer to the underlying writer. Read more
Source§fn write_int<T>(&mut self, n: i64, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
fn write_int<T>(&mut self, n: i64, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
Writes a signed n-bytes integer to the underlying writer. Read more
Source§fn write_uint128<T>(&mut self, n: u128, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
fn write_uint128<T>(&mut self, n: u128, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
Writes an unsigned n-bytes integer to the underlying writer. Read more
Source§fn write_int128<T>(&mut self, n: i128, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
fn write_int128<T>(&mut self, n: i128, nbytes: usize) -> Result<(), Error>where
T: ByteOrder,
Writes a signed n-bytes integer to the underlying writer. Read more
Source§impl<W> WriteEndian<[f32]> for Wwhere
W: Write,
impl<W> WriteEndian<[f32]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[f32]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[f32]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[f64]> for Wwhere
W: Write,
impl<W> WriteEndian<[f64]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[f64]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[f64]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[i128]> for Wwhere
W: Write,
impl<W> WriteEndian<[i128]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[i128]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[i128]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[i16]> for Wwhere
W: Write,
impl<W> WriteEndian<[i16]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[i16]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[i16]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[i32]> for Wwhere
W: Write,
impl<W> WriteEndian<[i32]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[i32]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[i32]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[i64]> for Wwhere
W: Write,
impl<W> WriteEndian<[i64]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[i64]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[i64]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[i8]> for Wwhere
W: Write,
impl<W> WriteEndian<[i8]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[i8]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[i8]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[u128]> for Wwhere
W: Write,
impl<W> WriteEndian<[u128]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[u128]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[u128]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[u16]> for Wwhere
W: Write,
impl<W> WriteEndian<[u16]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[u16]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[u16]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[u32]> for Wwhere
W: Write,
impl<W> WriteEndian<[u32]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[u32]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[u32]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[u64]> for Wwhere
W: Write,
impl<W> WriteEndian<[u64]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[u64]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[u64]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<[u8]> for Wwhere
W: Write,
impl<W> WriteEndian<[u8]> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &[u8]) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &[u8]) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<f32> for Wwhere
W: Write,
impl<W> WriteEndian<f32> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &f32) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &f32) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<f64> for Wwhere
W: Write,
impl<W> WriteEndian<f64> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &f64) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &f64) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<i128> for Wwhere
W: Write,
impl<W> WriteEndian<i128> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &i128) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &i128) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<i16> for Wwhere
W: Write,
impl<W> WriteEndian<i16> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &i16) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &i16) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<i32> for Wwhere
W: Write,
impl<W> WriteEndian<i32> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &i32) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &i32) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<i64> for Wwhere
W: Write,
impl<W> WriteEndian<i64> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &i64) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &i64) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<i8> for Wwhere
W: Write,
impl<W> WriteEndian<i8> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &i8) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &i8) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<u128> for Wwhere
W: Write,
impl<W> WriteEndian<u128> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &u128) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &u128) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<u16> for Wwhere
W: Write,
impl<W> WriteEndian<u16> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &u16) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &u16) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<u32> for Wwhere
W: Write,
impl<W> WriteEndian<u32> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &u32) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &u32) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<u64> for Wwhere
W: Write,
impl<W> WriteEndian<u64> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &u64) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &u64) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness
Source§impl<W> WriteEndian<u8> for Wwhere
W: Write,
impl<W> WriteEndian<u8> for Wwhere
W: Write,
Source§fn write_as_little_endian(&mut self, value: &u8) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &u8) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness