[][src]Struct dinotree_alg::elem::ProtectedBBoxSlice

#[repr(transparent)]
pub struct ProtectedBBoxSlice<'a, T> { /* fields omitted */ }

Forbids the user from swapping mutable slices in the nodes around.

Methods

impl<'a, T> ProtectedBBoxSlice<'a, T>[src]

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

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

pub fn split_first_mut(
    self
) -> Option<(ProtectedBBox<'a, T>, ProtectedBBoxSlice<'a, T>)>
[src]

pub fn truncate_to(self, a: RangeTo<usize>) -> Self[src]

pub fn truncate_from(self, a: RangeFrom<usize>) -> Self[src]

pub fn truncate(self, a: Range<usize>) -> Self[src]

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

pub fn new(inner: &'a mut [T]) -> Self[src]

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

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

Trait Implementations

impl<'a, T> IntoIterator for ProtectedBBoxSlice<'a, T>[src]

type Item = ProtectedBBox<'a, T>

The type of the elements being iterated over.

type IntoIter = ProtectedBBoxIter<'a, T>

Which kind of iterator are we turning this into?

impl<'a, T> AsRef<[T]> for ProtectedBBoxSlice<'a, T>[src]

impl<'a, T> Borrow<[T]> for ProtectedBBoxSlice<'a, T>[src]

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

type Error = !

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