Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 6 of 6) sorted by relevance

/rust/kernel/
A Dinit.rs224 $($fields:tt)*
227 $($fields)*
231 $($fields:tt)*
234 $($fields)*
284 $($fields:tt)*
287 $($fields)*
291 $($fields:tt)*
294 $($fields)*
A Dlib.rs249 ($field_ptr:expr, $Container:ty, $($fields:tt)*) => {{
250 let offset: usize = ::core::mem::offset_of!($Container, $($fields)*);
253 $crate::assert_same_type(field_ptr, (&raw const (*container_ptr).$($fields)*).cast_mut());
A Dlist.rs282 unsafe fn fields(me: *mut Self) -> *mut ListLinksFields { in fields() method
384 let item = unsafe { ListLinks::fields(list_links) }; in insert_inner()
464 let mut item = unsafe { ListLinks::fields(T::view_links(item)) }; in remove()
/rust/pin-init/src/
A Dmacros.rs604 @fields($($fields:tt)*),
644 @fields($($fields:tt)*),
679 @fields($($fields:tt)*),
714 @fields($($fields:tt)*),
752 @fields($($fields:tt)*),
786 @fields($($fields:tt)*),
821 @fields($($fields:tt)*),
1043 @fields($($fields:tt)*),
1068 @fields($($fields:tt)*),
1093 @fields($($fields:tt)*),
[all …]
A Dlib.rs782 $($fields:tt)*
785 $($fields)*
833 $($fields:tt)*
838 @fields($($fields)*),
843 @munch_fields($($fields)*),
889 $($fields:tt)*
892 $($fields)*
938 $($fields:tt)*
943 @fields($($fields)*),
948 @munch_fields($($fields)*),
/rust/pin-init/
A DREADME.md76 [structurally pinned fields]. After doing this, you can then create an in-place constructor via
78 that you need to write `<-` instead of `:` for fields that you want to initialize in-place.
108 the above method only works for types where you can access the fields.
160 /* fields from C ... */
203 // All fields of `RawFoo` have been initialized, since `_p` is a ZST.
225 [structurally pinned fields]: https://doc.rust-lang.org/std/pin/index.html#projections-and-structur…

Completed in 17 milliseconds