Lines Matching refs:T
341 pub(crate) struct PageList<'a, T: AllocablePage> {
343 pub(crate) head: Option<&'a mut T>,
348 impl<'a, T: AllocablePage> PageList<'a, T> {
350 pub(crate) const fn new() -> PageList<'a, T> { in new()
358 pub(crate) fn new() -> PageList<'a, T> { in new()
365 pub(crate) fn iter_mut<'b: 'a>(&mut self) -> ObjectPageIterMut<'b, T> { in iter_mut() argument
378 pub(crate) fn insert_front<'b>(&'b mut self, mut new_head: &'a mut T) { in insert_front() argument
396 pub(crate) fn remove_from_list(&mut self, slab_page: &mut T) { in remove_from_list() argument
428 pub(crate) fn pop<'b>(&'b mut self) -> Option<&'a mut T> { in pop() argument
450 pub(crate) fn contains(&mut self, s: *const T) -> bool { in contains()
490 pub struct Rawlink<T> {
491 p: *mut T,
494 impl<T> Default for Rawlink<T> {
500 impl<T> Rawlink<T> {
502 pub(crate) fn none() -> Rawlink<T> { in none()
507 pub(crate) fn some(n: &mut T) -> Rawlink<T> { in some() argument
518 pub(crate) unsafe fn resolve<'a>(&self) -> Option<&'a T> { in resolve() argument
528 pub(crate) unsafe fn resolve_mut<'a>(&mut self) -> Option<&'a mut T> { in resolve_mut() argument
534 pub(crate) fn take(&mut self) -> Rawlink<T> { in take() argument