pub struct EntityListRange<I: IEntityListNodeID> {
pub start: I,
pub end: Option<I>,
}Expand description
A partial-close range of an entity pointer list representing [start, end).
- if
end is None, the range is open-ended. - the
startis non-nullable, meaning any range must have a valid start.
Fields§
§start: I§end: Option<I>Implementations§
Source§impl<I: IEntityListNodeID> EntityListRange<I>
impl<I: IEntityListNodeID> EntityListRange<I>
Trait Implementations§
Source§impl<I: Clone + IEntityListNodeID> Clone for EntityListRange<I>
impl<I: Clone + IEntityListNodeID> Clone for EntityListRange<I>
Source§fn clone(&self) -> EntityListRange<I>
fn clone(&self) -> EntityListRange<I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<I: Debug + IEntityListNodeID> Debug for EntityListRange<I>
impl<I: Debug + IEntityListNodeID> Debug for EntityListRange<I>
Source§impl<I: PartialEq + IEntityListNodeID> PartialEq for EntityListRange<I>
impl<I: PartialEq + IEntityListNodeID> PartialEq for EntityListRange<I>
impl<I: Copy + IEntityListNodeID> Copy for EntityListRange<I>
impl<I: Eq + IEntityListNodeID> Eq for EntityListRange<I>
impl<I: IEntityListNodeID> StructuralPartialEq for EntityListRange<I>
Auto Trait Implementations§
impl<I> Freeze for EntityListRange<I>where
I: Freeze,
impl<I> RefUnwindSafe for EntityListRange<I>where
I: RefUnwindSafe,
impl<I> Send for EntityListRange<I>where
I: Send,
impl<I> Sync for EntityListRange<I>where
I: Sync,
impl<I> Unpin for EntityListRange<I>where
I: Unpin,
impl<I> UnwindSafe for EntityListRange<I>where
I: 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