[−][src]Struct v9::id::IdList
Fields
free: RunList<M>
Methods
impl<M: TableMarker> IdList<M>
[src]
pub fn len(&self) -> usize
[src]
pub fn outer_capacity(&self) -> usize
[src]
pub unsafe fn set_outer_capacity(&mut self, outer_capacity: usize)
[src]
pub fn exists(&self, id: Id<M>) -> bool
[src]
pub fn flush(&mut self, universe: &Universe, tracked_events: u8)
[src]
pub fn write_deletions(&mut self)
[src]
ⓘImportant traits for CheckedIter<'a, M>pub fn iter(&self) -> CheckedIter<M>
[src]
ⓘImportant traits for CheckedIter<'a, M>
ⓘImportant traits for CheckedIter<'a, M>pub fn range(&self, range: UncheckedIdRange<M>) -> CheckedIter<M>
[src]
ⓘImportant traits for CheckedIter<'a, M>
pub fn delete(&mut self, id: Id<M>)
[src]
pub fn delete_extend(&mut self, i: impl Iterator<Item = Id<M>>)
[src]
pub fn delete_extend_ranges(
&mut self,
i: impl Iterator<Item = RangeInclusive<Id<M>>>
)
[src]
&mut self,
i: impl Iterator<Item = RangeInclusive<Id<M>>>
)
ⓘImportant traits for ListRemoving<'a, M>pub fn removing(&mut self) -> ListRemoving<'static, M>
[src]
ⓘImportant traits for ListRemoving<'a, M>
pub unsafe fn recycle_id(&mut self) -> Result<Id<M>, Id<M>>
[src]
Creates a new Id, or returns a previously deleted Id. This function is unsafe because it does not push anything to the column's Vecs.
pub unsafe fn recycle_id_contiguous(
&mut self,
n: usize
) -> Result<UncheckedIdRange<M>, UncheckedIdRange<M>>
[src]
&mut self,
n: usize
) -> Result<UncheckedIdRange<M>, UncheckedIdRange<M>>
Note: This method is O(self.free.data.len())
pub fn next(&self) -> Id<M>
[src]
The next Id that will be used for the next call to push. Be aware that calling this multiple times will return the same ID.
pub fn check<'a, 'b>(&'a self, i: impl Check<M = M> + 'b) -> CheckedId<'a, M>
[src]
Trait Implementations
impl<'a, M: TableMarker> Extract for &'a mut IdList<M>
[src]
fn each_resource(f: &mut dyn FnMut(TypeId, Access))
[src]
type Owned = Self
unsafe fn extract(_universe: &Universe, rez: &mut Rez) -> Self::Owned
[src]
unsafe fn convert(_universe: &Universe, owned: *mut Self::Owned) -> Self
[src]
type Cleanup = IdListCleanup
Default is ()
, which does nothing.
impl<'a, M: TableMarker> ExtractOwned for &'a IdList<M>
[src]
type Ty = IdList<M>
const ACC: Access
[src]
unsafe fn extract(_universe: &Universe, rez: &mut Rez) -> Self
[src]
impl<'a, M: TableMarker> IntoIterator for &'a IdList<M>
[src]
type Item = CheckedId<'a, M>
The type of the elements being iterated over.
type IntoIter = CheckedIter<'a, M>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<M: Default + TableMarker> Default for IdList<M>
[src]
impl<M: Debug + TableMarker> Debug for IdList<M>
[src]
Auto Trait Implementations
impl<M> Send for IdList<M> where
<M as TableMarker>::RawId: Send,
<M as TableMarker>::RawId: Send,
impl<M> Sync for IdList<M> where
<M as TableMarker>::RawId: Sync,
<M as TableMarker>::RawId: Sync,
impl<M> Unpin for IdList<M> where
<M as TableMarker>::RawId: Unpin,
<M as TableMarker>::RawId: Unpin,
impl<M> UnwindSafe for IdList<M> where
<M as TableMarker>::RawId: RefUnwindSafe + UnwindSafe,
<M as TableMarker>::RawId: RefUnwindSafe + UnwindSafe,
impl<M> !RefUnwindSafe for IdList<M>
Blanket Implementations
impl<X> ForeignKey for X
[src]
fn __v9_link_foreign_table_name() -> Option<Name>
[src]
fn __v9_link_foreign_key<LM: TableMarker>(_universe: &mut Universe)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,