pub struct EntityListRange<E: IEntityListNode> {
pub start: E::PtrID,
pub end: Option<E::PtrID>,
}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: E::PtrID§end: Option<E::PtrID>Implementations§
Source§impl<E: IEntityListNode> EntityListRange<E>
impl<E: IEntityListNode> EntityListRange<E>
pub fn is_empty(&self) -> bool
pub fn iter<'alloc>( &self, alloc: &'alloc EntityAlloc<E>, ) -> EntityListReadIter<'alloc, E> ⓘ
Auto Trait Implementations§
impl<E> Freeze for EntityListRange<E>
impl<E> RefUnwindSafe for EntityListRange<E>
impl<E> Send for EntityListRange<E>
impl<E> Sync for EntityListRange<E>
impl<E> Unpin for EntityListRange<E>
impl<E> UnwindSafe for EntityListRange<E>
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