Struct embedded_graphics::iterator::raw::RawDataSlice
source · pub struct RawDataSlice<'a, R, BO> { /* private fields */ }
Expand description
Raw data slice.
This type is a wrapper around a byte array to specify the stored data format.
See the module-level documentation for more information.
Implementations§
Trait Implementations§
source§impl<'a, R: Clone, BO: Clone> Clone for RawDataSlice<'a, R, BO>
impl<'a, R: Clone, BO: Clone> Clone for RawDataSlice<'a, R, BO>
source§fn clone(&self) -> RawDataSlice<'a, R, BO>
fn clone(&self) -> RawDataSlice<'a, R, BO>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU1, BO>
impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU1, BO>
source§impl<'a> IntoIterator for RawDataSlice<'a, RawU16, BigEndian>
impl<'a> IntoIterator for RawDataSlice<'a, RawU16, BigEndian>
source§impl<'a> IntoIterator for RawDataSlice<'a, RawU16, LittleEndian>
impl<'a> IntoIterator for RawDataSlice<'a, RawU16, LittleEndian>
source§impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU2, BO>
impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU2, BO>
source§impl<'a> IntoIterator for RawDataSlice<'a, RawU24, BigEndian>
impl<'a> IntoIterator for RawDataSlice<'a, RawU24, BigEndian>
source§impl<'a> IntoIterator for RawDataSlice<'a, RawU24, LittleEndian>
impl<'a> IntoIterator for RawDataSlice<'a, RawU24, LittleEndian>
source§impl<'a> IntoIterator for RawDataSlice<'a, RawU32, BigEndian>
impl<'a> IntoIterator for RawDataSlice<'a, RawU32, BigEndian>
source§impl<'a> IntoIterator for RawDataSlice<'a, RawU32, LittleEndian>
impl<'a> IntoIterator for RawDataSlice<'a, RawU32, LittleEndian>
source§impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU4, BO>
impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU4, BO>
source§impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU8, BO>
impl<'a, BO> IntoIterator for RawDataSlice<'a, RawU8, BO>
source§impl<'a, R: Ord, BO: Ord> Ord for RawDataSlice<'a, R, BO>
impl<'a, R: Ord, BO: Ord> Ord for RawDataSlice<'a, R, BO>
source§fn cmp(&self, other: &RawDataSlice<'a, R, BO>) -> Ordering
fn cmp(&self, other: &RawDataSlice<'a, R, BO>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a, R: PartialEq, BO: PartialEq> PartialEq<RawDataSlice<'a, R, BO>> for RawDataSlice<'a, R, BO>
impl<'a, R: PartialEq, BO: PartialEq> PartialEq<RawDataSlice<'a, R, BO>> for RawDataSlice<'a, R, BO>
source§fn eq(&self, other: &RawDataSlice<'a, R, BO>) -> bool
fn eq(&self, other: &RawDataSlice<'a, R, BO>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, R: PartialOrd, BO: PartialOrd> PartialOrd<RawDataSlice<'a, R, BO>> for RawDataSlice<'a, R, BO>
impl<'a, R: PartialOrd, BO: PartialOrd> PartialOrd<RawDataSlice<'a, R, BO>> for RawDataSlice<'a, R, BO>
source§fn partial_cmp(&self, other: &RawDataSlice<'a, R, BO>) -> Option<Ordering>
fn partial_cmp(&self, other: &RawDataSlice<'a, R, BO>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a, R: Copy, BO: Copy> Copy for RawDataSlice<'a, R, BO>
impl<'a, R: Eq, BO: Eq> Eq for RawDataSlice<'a, R, BO>
impl<'a, R, BO> StructuralEq for RawDataSlice<'a, R, BO>
impl<'a, R, BO> StructuralPartialEq for RawDataSlice<'a, R, BO>
Auto Trait Implementations§
impl<'a, R, BO> RefUnwindSafe for RawDataSlice<'a, R, BO>where BO: RefUnwindSafe, R: RefUnwindSafe,
impl<'a, R, BO> Send for RawDataSlice<'a, R, BO>where BO: Send, R: Send,
impl<'a, R, BO> Sync for RawDataSlice<'a, R, BO>where BO: Sync, R: Sync,
impl<'a, R, BO> Unpin for RawDataSlice<'a, R, BO>where BO: Unpin, R: Unpin,
impl<'a, R, BO> UnwindSafe for RawDataSlice<'a, R, BO>where BO: UnwindSafe, R: UnwindSafe,
Blanket Implementations§
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.