| /linux/rust/syn/gen/ |
| H A D | visit_mut.rs | 8 #[cfg(any(feature = "full", feature = "derive"))] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 32 #[cfg(any(feature = "derive", feature = "full"))] 33 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 37 #[cfg(any(feature = "derive", feature = "full"))] 38 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 50 #[cfg(any(feature = "derive", feature = "full"))] 51 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 55 #[cfg(any(feature = "derive", feature = "full"))] 56 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] [all …]
|
| H A D | visit.rs | 8 #[cfg(any(feature = "full", feature = "derive"))] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 31 #[cfg(any(feature = "derive", feature = "full"))] 32 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 36 #[cfg(any(feature = "derive", feature = "full"))] 37 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 49 #[cfg(any(feature = "derive", feature = "full"))] 50 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 54 #[cfg(any(feature = "derive", feature = "full"))] 55 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] [all …]
|
| H A D | fold.rs | 18 #[cfg(all(feature = "derive", not(feature = "full")))] 30 #[cfg(any(feature = "derive", feature = "full"))] 31 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 35 #[cfg(any(feature = "derive", feature = "full"))] 36 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 48 #[cfg(any(feature = "derive", feature = "full"))] 49 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 53 #[cfg(any(feature = "derive", feature = "full"))] 54 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 58 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | eq.rs | 6 #[cfg(any(feature = "derive", feature = "full"))] 8 #[cfg(any(feature = "derive", feature = "full"))] 11 #[cfg(any(feature = "derive", feature = "full"))] 18 #[cfg(any(feature = "derive", feature = "full"))] 21 #[cfg(any(feature = "derive", feature = "full"))] 39 #[cfg(any(feature = "derive", feature = "full"))] 42 #[cfg(any(feature = "derive", feature = "full"))] 50 #[cfg(any(feature = "derive", feature = "full"))] 53 #[cfg(any(feature = "derive", feature = "full"))] 61 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | clone.rs | 7 #[cfg(any(feature = "derive", feature = "full"))] 17 #[cfg(any(feature = "derive", feature = "full"))] 43 #[cfg(any(feature = "derive", feature = "full"))] 55 #[cfg(any(feature = "derive", feature = "full"))] 67 #[cfg(any(feature = "derive", feature = "full"))] 70 #[cfg(any(feature = "derive", feature = "full"))] 77 #[cfg(any(feature = "derive", feature = "full"))] 89 #[cfg(any(feature = "derive", feature = "full"))] 100 #[cfg(any(feature = "derive", feature = "full"))] 112 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | debug.rs | 8 #[cfg(any(feature = "derive", feature = "full"))] 18 #[cfg(any(feature = "derive", feature = "full"))] 25 #[cfg(any(feature = "derive", feature = "full"))] 50 #[cfg(any(feature = "derive", feature = "full"))] 62 #[cfg(any(feature = "derive", feature = "full"))] 74 #[cfg(any(feature = "derive", feature = "full"))] 89 #[cfg(any(feature = "derive", feature = "full"))] 101 #[cfg(any(feature = "derive", feature = "full"))] 112 #[cfg(any(feature = "derive", feature = "full"))] 124 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | hash.rs | 6 #[cfg(any(feature = "derive", feature = "full"))] 9 #[cfg(any(feature = "derive", feature = "full"))] 19 #[cfg(any(feature = "derive", feature = "full"))] 44 #[cfg(any(feature = "derive", feature = "full"))] 56 #[cfg(any(feature = "derive", feature = "full"))] 68 #[cfg(any(feature = "derive", feature = "full"))] 85 #[cfg(any(feature = "derive", feature = "full"))] 96 #[cfg(any(feature = "derive", feature = "full"))] 108 #[cfg(any(feature = "derive", feature = "full"))] 120 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| /linux/rust/syn/ |
| H A D | lib.rs | 23 //! - **Derives** — Of particular interest to derive macros is 25 //! derive macro. An example below shows using this type in a library that can 26 //! derive implementations of a user-defined trait. 53 //! # Example of a derive macro 55 //! The canonical derive macro using Syn looks like this. We write an ordinary 57 //! the trait we are deriving. Any time that derive appears in the user's code, 99 //! of a derive macro. The example derives a `HeapSize` trait which computes an 111 //! The derive macro allows users to write `#[derive(HeapSize)]` on data 116 //! #[derive(HeapSize)] 136 //! #[derive(HeapSize)] [all …]
|
| H A D | derive.rs | 13 #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] 31 #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] 41 #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] 51 #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] 61 #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] 72 use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; 213 use crate::derive::{Data, DeriveInput};
|
| H A D | ty.rs | 23 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 96 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 107 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 122 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 132 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 141 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 149 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 157 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 165 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 175 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [all …]
|
| H A D | attr.rs | 57 /// example `#[derive(Copy)]` or `#[precondition(x < 5)]`. 68 /// #[derive(Copy, Clone)] 174 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 186 /// For example this would return the `test` in `#[test]`, the `derive` in 187 /// `#[derive(Copy)]`, and the `path` in `#[path = "sys/windows.rs"]`. 446 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 462 /// A meta list is like the `derive(Copy)` in `#[derive(Copy)]`. 474 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 478 /// A structured list within an attribute, like `derive(Copy, Clone)`. 487 /// A structured list within an attribute, like `derive(Copy, Clone)`. [all …]
|
| H A D | data.rs | 13 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 36 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 53 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 62 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 117 /// The following is a simplistic [`Clone`] derive for structs. (A more 185 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
|
| H A D | generics.rs | 27 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 45 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 60 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 71 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 84 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 275 doc(cfg(all(any(feature = "full", feature = "derive"), feature = "printing"))) 283 doc(cfg(all(any(feature = "full", feature = "derive"), feature = "printing"))) 291 doc(cfg(all(any(feature = "full", feature = "derive"), feature = "printing"))) 356 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 402 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [all …]
|
| H A D | path.rs | 15 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 111 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 140 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 175 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 201 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 213 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 225 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 236 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 248 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 275 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
|
| H A D | parse_quote.rs | 153 #[cfg(any(feature = "full", feature = "derive"))] 158 #[cfg(any(feature = "full", feature = "derive"))] 169 #[cfg(any(feature = "full", feature = "derive"))] 180 #[cfg(any(feature = "full", feature = "derive"))]
|
| H A D | restriction.rs | 15 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 32 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 43 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
|
| H A D | macros.rs | 4 not(any(feature = "full", feature = "derive")), 42 #[cfg(any(feature = "full", feature = "derive"))] 170 #[cfg(any(feature = "full", feature = "derive"))]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_binding.h | 86 * @bi: struct vmw_ctx_bindinfo we derive from. 97 * @bi: struct vmw_ctx_bindinfo we derive from. 108 * @bi: struct vmw_ctx_bindinfo we derive from. 125 * @bi: struct vmw_ctx_bindinfo we derive from. 138 * @bi: struct vmw_ctx_bindinfo we derive from. 153 * @bi: struct vmw_ctx_bindinfo we derive from. 168 * @bi: struct vmw_ctx_bindinfo we derive from. 209 * @bi: struct vmw_ctx_bindinfo we derive from.
|
| /linux/rust/proc-macro2/ |
| H A D | marker.rs | 9 #[derive(Copy, Clone)] 12 derive(PartialEq, Eq)
|
| H A D | lib.rs | 193 #[derive(Clone)] 346 #[derive(Copy, Clone)] 534 #[derive(Clone)] 635 #[derive(Clone)] 641 #[derive(Copy, Clone, Debug, Eq, PartialEq)] 775 #[derive(Clone)] 784 #[derive(Copy, Clone, Debug, Eq, PartialEq)] 924 #[derive(Clone)] 1058 #[derive(Clone)] 1315 #[derive(Clone)]
|
| /linux/rust/pin-init/examples/ |
| H A D | big_struct_in_place.rs | 6 #[derive(Debug)] 17 #[derive(Debug)]
|
| /linux/rust/ |
| H A D | bindgen_parameters | 65 --with-derive-custom-struct .*=MaybeZeroable 66 --with-derive-custom-union .*=MaybeZeroable
|
| /linux/rust/kernel/ |
| H A D | alloc.rs | 22 #[derive(Copy, Clone, PartialEq, Eq, Debug)] 33 #[derive(Clone, Copy, PartialEq)] 114 #[derive(Clone, Copy, PartialEq)] 146 /// In order to be able to support `#[derive(CoercePointee)]` later on, we need to avoid a design
|
| /linux/Documentation/devicetree/bindings/i2c/ |
| H A D | i2c-rk3x.yaml | 59 there is one clock that is used both to derive the functional clock 61 For newer hardware (rk3399) this clock is used to derive
|
| /linux/drivers/md/dm-vdo/ |
| H A D | funnel-queue.h | 27 * in the queue must all be the same so the client can derive their structure pointer from the 78 * structure. The caller must be able to derive the address of the start of their data structure
|