Home
last modified time | relevance | path

Searched refs:Foo (Results 1 – 5 of 5) sorted by relevance

/linux/rust/pin-init/src/
H A D__internal.rs197 struct Foo { in stack_init_reuse() struct
201 let mut slot: Pin<&mut StackInit<Foo>> = pin!(StackInit::uninit()); in stack_init_reuse()
202 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse()
203 slot.as_mut().init(crate::init!(Foo { in stack_init_reuse()
209 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse()
210 slot.as_mut().init(crate::init!(Foo { in stack_init_reuse()
/linux/Documentation/translations/zh_CN/rust/
H A Dcoding-guidelines.rst67 /// Returns a new [`Foo`].
76 pub fn f(x: i32) -> Foo {
/linux/rust/pin-init/
H A DREADME.md96 struct Foo {
102 let foo = pin_init!(Foo {
108 `foo` now is of the type [`impl PinInit<Foo>`]. We can now use any smart pointer that we like
109 (or just the stack) to actually initialize a `Foo`:
112 let foo: Result<Pin<Box<Foo>>, AllocError> = Box::pin_init(foo);
239 [`impl PinInit<Foo>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html
/linux/Documentation/rust/
H A Dcoding-guidelines.rst150 /// Returns a new [`Foo`].
159 pub fn f(x: i32) -> Foo {
/linux/net/ipv4/
H A DKconfig323 tristate "IP: Foo (IP protocols) over UDP"
326 Foo over UDP allows any IP protocol to be directly encapsulated