Struct PlaneData
pub struct PlaneData<T: Pixel> { /* private fields */ }
Backing buffer for the Plane data
The buffer is padded and aligned according to the architecture-specific SIMD constraints.
Implementations
impl<T: Pixel> PlaneData<T>
fn new(len: usize) -> Self
Trait Implementations
impl<T: Clone + Pixel> Clone for PlaneData<T>
fn clone(&self) -> PlaneData<T>
impl<T: Debug + Pixel> Debug for PlaneData<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Eq + Pixel> Eq for PlaneData<T>
impl<T: PartialEq + Pixel> PartialEq for PlaneData<T>
fn eq(&self, other: &PlaneData<T>) -> bool
impl<T: PartialEq + Pixel> StructuralPartialEq for PlaneData<T>
impl<T: Pixel + Send> Send for PlaneData<T>
impl<T: Pixel + Sync> Sync for PlaneData<T>
impl<T: Pixel> Deref for PlaneData<T>
type Target = [T];fn deref(&self) -> &[T]
impl<T: Pixel> DerefMut for PlaneData<T>
fn deref_mut(&mut self) -> &mut [T]
Auto Trait Implementations
impl<T> Freeze for PlaneData<T>
where
ABox<[T], ConstAlign<{ 1 << 6 }>>: Freeze,
impl<T> RefUnwindSafe for PlaneData<T>
where
ABox<[T], ConstAlign<{ 1 << 6 }>>: RefUnwindSafe,
impl<T> Unpin for PlaneData<T>
where
ABox<[T], ConstAlign<{ 1 << 6 }>>: Unpin,
impl<T> UnsafeUnpin for PlaneData<T>
where
ABox<[T], ConstAlign<{ 1 << 6 }>>: UnsafeUnpin,
impl<T> UnwindSafe for PlaneData<T>
where
ABox<[T], ConstAlign<{ 1 << 6 }>>: UnwindSafe,
Blanket Implementations
impl<P, T> Receiver for PlaneData<T>
where
P: Deref<Target = T> + ?Sized,
T: ?Sized,
type Target = T;
impl<T> Any for PlaneData<T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for PlaneData<T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for PlaneData<T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for PlaneData<T>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for PlaneData<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for PlaneData<T>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for PlaneData<T>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for PlaneData<T>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for PlaneData<T>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>