Struct pasture_core::containers::PerAttributePointBufferSliceMut[][src]

pub struct PerAttributePointBufferSliceMut<'p> { /* fields omitted */ }

Non-owning, mutable slice of the data of a PerAttributePointBufferMut

Implementations

impl<'p> PerAttributePointBufferSliceMut<'p>[src]

pub fn new(
    buffer: &'p mut dyn PerAttributePointBufferMut<'p>,
    range_in_buffer: Range<usize>
) -> Self
[src]

Creates a new PerAttributePointBufferSlice pointing to the given range within the given buffer

Panics

Panics if the end of range_in_buffer is larger than buffer.len()

Trait Implementations

impl<'p> PerAttributePointBuffer for PerAttributePointBufferSliceMut<'p>[src]

impl<'p> PerAttributePointBufferMut<'p> for PerAttributePointBufferSliceMut<'p>[src]

impl<'p> PointBuffer for PerAttributePointBufferSliceMut<'p>[src]

impl<'a> Send for PerAttributePointBufferSliceMut<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,