pub struct GroupsIdx { /* private fields */ }
This is supported on crate feature
object
only.Expand description
Indexes of the groups, the first index is stored separately. this make sorting fast.
Implementations
sourceimpl GroupsIdx
impl GroupsIdx
pub fn sort(&mut self)
pub fn is_sorted(&self) -> bool
pub fn iter(&self) -> Zip<Copied<Iter<'_, u32>>, Iter<'_, Vec<u32, Global>>>
pub fn all(&self) -> &[Vec<u32, Global>]
pub fn first(&self) -> &[u32]
pub fn first_mut(&mut self) -> &mut Vec<u32, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Trait Implementations
sourceimpl From<GroupsIdx> for GroupsProxy
impl From<GroupsIdx> for GroupsProxy
sourcefn from(groups: GroupsIdx) -> GroupsProxy
fn from(groups: GroupsIdx) -> GroupsProxy
Performs the conversion.
sourceimpl<'a> IntoIterator for &'a GroupsIdx
impl<'a> IntoIterator for &'a GroupsIdx
sourceimpl<'a> IntoIterator for GroupsIdx
impl<'a> IntoIterator for GroupsIdx
sourceimpl<'a> IntoParallelIterator for &'a GroupsIdx
impl<'a> IntoParallelIterator for &'a GroupsIdx
sourceimpl IntoParallelIterator for GroupsIdx
impl IntoParallelIterator for GroupsIdx
impl Eq for GroupsIdx
impl StructuralEq for GroupsIdx
impl StructuralPartialEq for GroupsIdx
Auto Trait Implementations
impl RefUnwindSafe for GroupsIdx
impl Send for GroupsIdx
impl Sync for GroupsIdx
impl Unpin for GroupsIdx
impl UnwindSafe for GroupsIdx
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<'data, I> IntoParallelRefIterator<'data> for I where
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
impl<'data, I> IntoParallelRefIterator<'data> for I where
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
type Iter = <&'data I as IntoParallelIterator>::Iter
type Iter = <&'data I as IntoParallelIterator>::Iter
The type of the parallel iterator that will be returned.
type Item = <&'data I as IntoParallelIterator>::Item
type Item = <&'data I as IntoParallelIterator>::Item
The type of item that the parallel iterator will produce.
This will typically be an &'data T
reference type. Read more
sourcefn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
fn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
Converts self
into a parallel iterator. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more