[][src]Struct luminance::buffer::BufferSliceMut

pub struct BufferSliceMut<'a, B: ?Sized, T> where
    B: BufferSliceBackend<T>,
    T: Copy
{ /* fields omitted */ }

A buffer mutable slice, allowing to get &mut [T].

Implementations

impl<'a, B: ?Sized, T> BufferSliceMut<'a, B, T> where
    B: BufferSliceBackend<T>,
    T: Copy
[src]

pub fn as_slice_mut(&mut self) -> Result<&mut [T], BufferError>[src]

Obtain a &mut [T].

Trait Implementations

impl<'a, B: Debug + ?Sized, T: Debug> Debug for BufferSliceMut<'a, B, T> where
    B: BufferSliceBackend<T>,
    T: Copy,
    B::SliceMutRepr: Debug
[src]

Auto Trait Implementations

impl<'a, B: ?Sized, T> RefUnwindSafe for BufferSliceMut<'a, B, T> where
    <B as BufferSlice<T>>::SliceMutRepr: RefUnwindSafe

impl<'a, B: ?Sized, T> Send for BufferSliceMut<'a, B, T> where
    <B as BufferSlice<T>>::SliceMutRepr: Send

impl<'a, B: ?Sized, T> Sync for BufferSliceMut<'a, B, T> where
    <B as BufferSlice<T>>::SliceMutRepr: Sync

impl<'a, B: ?Sized, T> Unpin for BufferSliceMut<'a, B, T> where
    <B as BufferSlice<T>>::SliceMutRepr: Unpin

impl<'a, B, T> !UnwindSafe for BufferSliceMut<'a, B, T>

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, 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.