pub struct GroupDesc<GK, GV, IK, IV> {
pub group_key: GK,
pub group_value: GV,
pub items: Vec<(IK, IV)>,
}Expand description
A descriptor for GroupMap.
GroupMap is a map containing groups and items. This descriptor describes
a group with its key, value, and associated items.
Fields§
§group_key: GK§group_value: GV§items: Vec<(IK, IV)>Trait Implementations§
Auto Trait Implementations§
impl<GK, GV, IK, IV> Freeze for GroupDesc<GK, GV, IK, IV>
impl<GK, GV, IK, IV> RefUnwindSafe for GroupDesc<GK, GV, IK, IV>
impl<GK, GV, IK, IV> Send for GroupDesc<GK, GV, IK, IV>
impl<GK, GV, IK, IV> Sync for GroupDesc<GK, GV, IK, IV>
impl<GK, GV, IK, IV> Unpin for GroupDesc<GK, GV, IK, IV>
impl<GK, GV, IK, IV> UnwindSafe for GroupDesc<GK, GV, IK, IV>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more