Lines Matching full:example
33 /// The following example shows how to declare, allocate and initialise a struct (`Example`) that
45 /// struct Example {
51 /// impl Example {
60 /// // Allocate a boxed `Example`.
61 /// let e = KBox::pin_init(Example::new(), GFP_KERNEL)?;
68 /// The following example shows how to use interior mutability to modify the contents of a struct
74 /// struct Example {
79 /// fn example(m: &Mutex<Example>) {