[][src]Struct dinotree::elem::ElemSliceMut

pub struct ElemSliceMut<'a, T: HasAabb> { /* fields omitted */ }

Methods

impl<'a, T: HasAabbMut> ElemSliceMut<'a, T>[src]

pub fn as_mut(&mut self) -> ElemSliceMut<T>[src]

pub fn new(inner: &'a mut ElemSlice<T>) -> ElemSliceMut<'a, T>[src]

pub fn split_first_mut(
    self
) -> Option<(BBoxRefMut<'a, T::Num, T::Inner>, ElemSliceMut<'a, T>)>
[src]

Important traits for ElemIterMut<'a, T>
pub fn iter_mut(self) -> ElemIterMut<'a, T>[src]

pub fn from_slice_mut(arr: &mut [T]) -> Self[src]

pub fn truncate_mut(self, start: usize, end: usize) -> ElemSliceMut<'a, T>[src]

pub fn truncate_start_mut(self, start: usize) -> ElemSliceMut<'a, T>[src]

Methods from Deref<Target = ElemSlice<T>>

pub fn truncate(&self, start: usize, end: usize) -> &ElemSlice<T>[src]

pub fn truncate_start(&self, start: usize) -> &ElemSlice<T>[src]

pub fn is_empty(&self) -> bool[src]

Important traits for ElemIter<'a, T>
pub fn iter(&self) -> ElemIter<T>[src]

pub fn len(&self) -> usize[src]

Trait Implementations

impl<'a, T: HasAabb> Deref for ElemSliceMut<'a, T>[src]

type Target = ElemSlice<T>

The resulting type after dereferencing.

impl<'a, T: HasAabbMut> IntoIterator for ElemSliceMut<'a, T>[src]

type Item = BBoxRefMut<'a, T::Num, T::Inner>

The type of the elements being iterated over.

type IntoIter = ElemIterMut<'a, T>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'a, T> Unpin for ElemSliceMut<'a, T>

impl<'a, T> Sync for ElemSliceMut<'a, T> where
    T: Sync

impl<'a, T> Send for ElemSliceMut<'a, T> where
    T: Send

impl<'a, T> !UnwindSafe for ElemSliceMut<'a, T>

impl<'a, T> RefUnwindSafe for ElemSliceMut<'a, T> where
    T: RefUnwindSafe

Blanket Implementations

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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