Lines Matching full:example
31 /// The following example shows how to declare, allocate and initialise a struct (`Example`) that
43 /// struct Example {
49 /// impl Example {
58 /// // Allocate a boxed `Example`.
59 /// let e = KBox::pin_init(Example::new(), GFP_KERNEL)?;
66 /// The following example shows how to use interior mutability to modify the contents of a struct
72 /// struct Example {
77 /// fn example(m: &SpinLock<Example>) {