Lines Matching refs:StructTraits
1249 ### Defining `StructTraits`
1254 [`mojo::StructTraits`](https://cs.chromium.org/chromium/src/mojo/public/cpp/bindings/struct_traits.…
1257 A valid specialization of `StructTraits` MUST define the following static
1272 There are other methods a `StructTraits` specialization may define to satisfy
1274 [Advanced StructTraits Usage](#Advanced-StructTraits-Usage) for details.
1277 `StructTraits` specialization, which we'll define in
1288 class StructTraits<gfx::mojom::RectDataView, gfx::Rect> {
1310 bool StructTraits<gfx::mojom::RectDataView, gfx::Rect>::Read(
1332 We've defined the `StructTraits` necessary, but we still need to teach the
1362 * `traits_headers`: Headers which contain the relevant `StructTraits`
1365 `StructTraits` definition. These sources are compiled directly into the
1386 `StructTraits` definition for this type mapping must define additional
1417 ### StructTraits Reference
1419 Each of a `StructTraits` specialization's static getter methods -- one per
1450 … | Value or reference to any type that has an appropriate `StructTraits` specialization…
1455 Static `Read` methods on `StructTraits` specializations get a generated
1466 [StructTraits Reference](#StructTraits-Reference).
1472 [StructTraits Reference](#StructTraits-Reference).
1478 argument may be a pointer to any type with an appropriate `StructTraits`
1480 [StructTraits Reference](#StructTraits-Reference).
1521 class StructTraits