[][src]Struct cosmogony::mutable_slice::MutableSlice

pub struct MutableSlice<'a> {
    pub right: &'a [Zone],
    pub left: &'a [Zone],
    pub idx: usize,
}

Fields

right: &'a [Zone]left: &'a [Zone]idx: usize

Methods

impl<'a> MutableSlice<'a>[src]

pub fn init(zones: &'a mut [Zone], index: usize) -> (Self, &'a mut Zone)[src]

pub fn get(&self, zindex: &ZoneIndex) -> &Zone[src]

Auto Trait Implementations

impl<'a> Send for MutableSlice<'a>

impl<'a> Unpin for MutableSlice<'a>

impl<'a> Sync for MutableSlice<'a>

impl<'a> UnwindSafe for MutableSlice<'a>

impl<'a> RefUnwindSafe for MutableSlice<'a>

Blanket Implementations

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.

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

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

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