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: PartialOrd, BO: PartialOrd> PartialOrd for RawDataSlice<'a, R, BO>
impl<'a, R: PartialOrd, BO: PartialOrd> PartialOrd for RawDataSlice<'a, R, BO>
impl<'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> StructuralPartialEq for RawDataSlice<'a, R, BO>
Auto Trait Implementations§
impl<'a, R, BO> Freeze for RawDataSlice<'a, R, BO>
impl<'a, R, BO> RefUnwindSafe for RawDataSlice<'a, R, BO>where
R: RefUnwindSafe,
BO: RefUnwindSafe,
impl<'a, R, BO> Send for RawDataSlice<'a, R, BO>
impl<'a, R, BO> Sync for RawDataSlice<'a, R, BO>
impl<'a, R, BO> Unpin for RawDataSlice<'a, R, BO>
impl<'a, R, BO> UnwindSafe for RawDataSlice<'a, R, BO>where
R: UnwindSafe,
BO: UnwindSafe,
Blanket Implementations§
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<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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.