[−][src]Struct sid::MutIdSlice
Methods
impl<'l, ID: Identifier, T: 'l> MutIdSlice<'l, ID, T>
[src]
pub fn new(slice: &'l mut [T]) -> MutIdSlice<'l, ID, T>
[src]
pub fn len(&self) -> ID::Handle
[src]
pub fn untyped(&mut self) -> &mut [T]
[src]
pub fn iter<'a>(&'a self) -> Iter<'a, T>
[src]
pub fn iter_mut<'a>(&'a mut self) -> IterMut<'a, T>
[src]
ⓘImportant traits for IdRange<T, H>pub fn ids(&self) -> IdRange<ID::Tag, ID::Handle>
[src]
ⓘImportant traits for IdRange<T, H>
pub fn nth(&mut self, idx: ID::Handle) -> &mut T
[src]
pub fn first(&mut self) -> Option<&mut T>
[src]
pub fn last(&mut self) -> Option<&mut T>
[src]
pub fn range(&mut self, ids: IdRange<ID::Tag, ID::Handle>) -> MutIdSlice<ID, T>
[src]
pub fn range_from(&mut self, id: ID) -> MutIdSlice<ID, T>
[src]
pub fn range_to(&mut self, id: ID) -> MutIdSlice<ID, T>
[src]
pub fn range_to_inclusive(&mut self, id: ID) -> MutIdSlice<ID, T>
[src]
Trait Implementations
impl<'l, ID: Identifier, T: 'l> Index<ID> for MutIdSlice<'l, ID, T>
[src]
impl<'l, ID: Identifier, T: 'l> IndexMut<ID> for MutIdSlice<'l, ID, T>
[src]
impl<'l, ID: Identifier, T: 'l> IntoIterator for MutIdSlice<'l, ID, T>
[src]
Auto Trait Implementations
impl<'l, ID, T> Unpin for MutIdSlice<'l, ID, T> where
ID: Unpin,
ID: Unpin,
impl<'l, ID, T> Send for MutIdSlice<'l, ID, T> where
ID: Send,
T: Send,
ID: Send,
T: Send,
impl<'l, ID, T> Sync for MutIdSlice<'l, ID, T> where
ID: Sync,
T: Sync,
ID: Sync,
T: Sync,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
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?
fn into_iter(self) -> I
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,