pub struct MocCellOrCellRanges<T: Idx, Q: MocQty<T>>(pub CellOrCellRanges<T>, _);Tuple Fields§
§0: CellOrCellRanges<T>Implementations§
Source§impl<T: Idx, Q: MocQty<T>> MocCellOrCellRanges<T, Q>
impl<T: Idx, Q: MocQty<T>> MocCellOrCellRanges<T, Q>
pub fn new(cells_or_cellranges: CellOrCellRanges<T>) -> Self
pub fn elems(&self) -> &[CellOrCellRange<T>]
Trait Implementations§
Auto Trait Implementations§
impl<T, Q> Freeze for MocCellOrCellRanges<T, Q>
impl<T, Q> RefUnwindSafe for MocCellOrCellRanges<T, Q>where
Q: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Q> Send for MocCellOrCellRanges<T, Q>
impl<T, Q> Sync for MocCellOrCellRanges<T, Q>
impl<T, Q> Unpin for MocCellOrCellRanges<T, Q>where
Q: Unpin,
impl<T, Q> UnsafeUnpin for MocCellOrCellRanges<T, Q>
impl<T, Q> UnwindSafe for MocCellOrCellRanges<T, Q>where
Q: UnwindSafe,
T: UnwindSafe,
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