Lines Matching refs:list

27     unsafe fn raw_get_list_links(ptr: *mut Self) -> *mut crate::list::ListLinks<ID>;  in raw_get_list_links()
40 unsafe impl$(<$($generics)*>)? $crate::list::HasListLinks$(<$id>)? for $self {
42 unsafe fn raw_get_list_links(ptr: *mut Self) -> *mut $crate::list::ListLinks$(<$id>)? {
85 unsafe impl$(<$($generics)*>)? $crate::list::HasSelfPtr<$item_type $(, $id)?> for $self {}
87 unsafe impl$(<$($generics)*>)? $crate::list::HasListLinks$(<$id>)? for $self {
89 unsafe fn raw_get_list_links(ptr: *mut Self) -> *mut $crate::list::ListLinks$(<$id>)? {
91 let ptr: *mut $crate::list::ListLinksSelfPtr<$item_type $(, $id)?> =
189 $crate::list::impl_has_list_links! {
194 unsafe impl$(<$($generics)*>)? $crate::list::ListItem<$num> for $self {
200 unsafe fn view_links(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
203 <Self as $crate::list::HasListLinks<$num>>::raw_get_list_links(me.cast_mut())
216 unsafe fn view_value(me: *mut $crate::list::ListLinks<$num>) -> *const Self {
231 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
233 unsafe { <Self as $crate::list::ListItem<$num>>::view_links(me) }
241 unsafe fn post_remove(me: *mut $crate::list::ListLinks<$num>) -> *const Self {
255 $crate::list::impl_has_list_links_self_ptr! {
260 unsafe impl$(<$($generics)*>)? $crate::list::ListItem<$num> for $self {
269 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
271 let links_field = unsafe { <Self as $crate::list::ListItem<$num>>::view_links(me) };
274 links_field, $crate::list::ListLinksSelfPtr<Self, $num>, inner
279 $crate::list::ListLinksSelfPtr::raw_get_self_ptr(container)
299 unsafe fn view_links(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
302 <Self as $crate::list::HasListLinks<$num>>::raw_get_list_links(me.cast_mut())
321 unsafe fn view_value(links_field: *mut $crate::list::ListLinks<$num>) -> *const Self {
323 links_field, $crate::list::ListLinksSelfPtr<Self, $num>, inner
328 $crate::list::ListLinksSelfPtr::raw_get_self_ptr(container)
342 unsafe fn post_remove(me: *mut $crate::list::ListLinks<$num>) -> *const Self {
346 unsafe { <Self as $crate::list::ListItem<$num>>::view_value(me) }