pub struct Segment<C, R> { /* private fields */ }
Expand description
This structure represents a sub table of Table
.
Implementations§
Source§impl Segment<RangeFull, RangeFull>
impl Segment<RangeFull, RangeFull>
Sourcepub fn all() -> SegmentAll
pub fn all() -> SegmentAll
Returns a table segment on which are present all cells.
Trait Implementations§
Source§impl<I, C, R> Object<I> for Segment<C, R>
impl<I, C, R> Object<I> for Segment<C, R>
Source§type Iter = SectorIter
type Iter = SectorIter
An
Iterator
which returns a list of cells.Source§fn and<O>(self, rhs: O) -> UnionCombination<Self, O, R>where
Self: Sized,
fn and<O>(self, rhs: O) -> UnionCombination<Self, O, R>where
Self: Sized,
Combines cells.
It doesn’t repeat cells.
Source§fn not<O>(self, rhs: O) -> DiffCombination<Self, O, R>where
Self: Sized,
fn not<O>(self, rhs: O) -> DiffCombination<Self, O, R>where
Self: Sized,
Excludes rhs cells from this cells.
Auto Trait Implementations§
impl<C, R> Freeze for Segment<C, R>
impl<C, R> RefUnwindSafe for Segment<C, R>where
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<C, R> Send for Segment<C, R>
impl<C, R> Sync for Segment<C, R>
impl<C, R> Unpin for Segment<C, R>
impl<C, R> UnwindSafe for Segment<C, R>where
C: UnwindSafe,
R: 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