Home
last modified time | relevance | path

Searched defs:Struct (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/external/rust/crates/pin-project/tests/
Dlint.rs478 pub struct Struct { struct
480 pub p: Box<isize>,
481 pub u: Box<isize>,
497 Struct { enumerator
556 pub struct Struct { struct
559 pub p: (),
561 pub u: (),
585 Struct { enumerator
672 pub struct Struct<'a, T, U> struct
678 pub pinned: &'a mut T,
[all …]
Dpinned_drop.rs10 pub struct Struct<'a> { in safe_project() struct
11 was_dropped: &'a mut bool, in safe_project()
13 field: u8, in safe_project()
17 impl PinnedDrop for Struct<'_> { in safe_project() implementation
59 pub struct Struct { in self_ty() struct
60 pub f: (), in self_ty()
64 impl PinnedDrop for Struct { in self_ty() implementation
101 Struct { f: () }, in self_ty() enumerator
176 struct Struct { in self_arg_inside_macro_call() struct
177 f: (), in self_arg_inside_macro_call()
[all …]
/external/starlark-go/starlarkstruct/
Dstruct.go101 type Struct struct { struct
102 constructor starlark.Value
103 entries entries // sorted by name
127 func (s *Struct) ToStringDict(d starlark.StringDict) {
133 func (s *Struct) String() string {
156 func (s *Struct) Constructor() starlark.Value { return s.constructor }
158 func (s *Struct) Type() string { return "struct" }
159 func (s *Struct) Truth() starlark.Bool { return true } // even when empty
160 func (s *Struct) Hash() (uint32, error) {
175 func (s *Struct) Freeze() {
[all …]
/external/flatbuffers/net/FlatBuffers/
DStruct.cs22 public struct Struct struct
24 public int bb_pos { get; private set; }
25 public ByteBuffer bb { get; private set; }
28 public Struct(int _i, ByteBuffer _bb) : this() in Struct() method
/external/rust/crates/pin-project/tests/expand/multifields/
Dstruct.rs4 struct Struct<T, U> { struct
6 pinned1: T,
8 pinned2: T,
9 unpinned1: U,
10 unpinned2: U,
Dstruct.expanded.rs3 struct Struct<T, U> { struct
5 pinned1: T,
30 struct __StructProjection<'pin, T, U> argument
32 Struct<T, U>: 'pin, argument
57 impl<T, U> Struct<T, U> { impl
137 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
142 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
149 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
151 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/external/rust/crates/pin-project/tests/expand/not_unpin/
Dstruct.expanded.rs3 struct Struct<T, U> { struct
27 struct __StructProjection<'pin, T, U> argument
29 Struct<T, U>: 'pin, argument
43 impl<T, U> Struct<T, U> { impl
75 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
83 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
93 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
95 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/external/rust/crates/pin-project/examples/
Dunsafe_unpin-expanded.rs26 pub struct Struct<T, U> { struct
35 Struct<T, U>: 'pin, argument
48 impl<T, U> Struct<T, U> { impl
85 impl<'pin, T, U> ::pin_project::__private::Unpin for Struct<T, U> where implementation
96 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
100 impl<T, U> ::pin_project::__private::PinnedDrop for Struct<T, U> { implementation
105 unsafe impl<T: Unpin, U> UnsafeUnpin for Struct<T, U> {} implementation
Dnot_unpin-expanded.rs27 pub struct Struct<T, U> { struct
36 Struct<T, U>: 'pin, argument
49 impl<T, U> Struct<T, U> { implementation
89 impl<'pin, T, U> ::pin_project::__private::Unpin for Struct<T, U> where implementation
101 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for Struct<T, U> where implementation
113 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
117 impl<T, U> ::pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dstruct-default-expanded.rs24 struct Struct<T, U> { struct
33 Struct<T, U>: 'pin, argument
46 impl<T, U> Struct<T, U> { impl
122 impl<'pin, T, U> ::pin_project::__private::Unpin for Struct<T, U> where implementation
133 unsafe impl<'pin, T, U> ::pin_project::UnsafeUnpin for Struct<T, U> where implementation
146 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
150 impl<T, U> ::pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dpinned_drop-expanded.rs33 pub struct Struct<'a, T> { struct
42 Struct<'a, T>: 'pin, argument
55 impl<'a, T> Struct<'a, T> { impl
91 impl<'a, T> ::pin_project::__private::Drop for Struct<'a, T> { implementation
114 impl<'pin, 'a, T> ::pin_project::__private::Unpin for Struct<'a, T> where implementation
120 unsafe impl<'pin, 'a, T> ::pin_project::UnsafeUnpin for Struct<'a, T> where implementation
139 impl<T> ::pin_project::__private::PinnedDrop for Struct<'_, T> { implementation
Dunsafe_unpin.rs8 pub struct Struct<T, U> { struct
14 unsafe impl<T: Unpin, U> UnsafeUnpin for Struct<T, U> {} argument
Dpinned_drop.rs10 pub struct Struct<'a, T> { struct
17 impl<T> PinnedDrop for Struct<'_, T> { implementation
/external/rust/crates/pin-project/tests/expand/unsafe_unpin/
Dstruct.expanded.rs3 struct Struct<T, U> { struct
27 struct __StructProjection<'pin, T, U> argument
29 Struct<T, U>: 'pin, argument
43 impl<T, U> Struct<T, U> { implementation
75 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
82 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
84 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
88 unsafe impl<T: Unpin, U> UnsafeUnpin for Struct<T, U> {} implementation
Dstruct.rs4 struct Struct<T, U> { struct
10 unsafe impl<T: Unpin, U> UnsafeUnpin for Struct<T, U> {} argument
/external/rust/crates/pin-project/tests/expand/naming/
Dstruct-mut.expanded.rs3 struct Struct<T, U> { struct
22 Struct<T, U>: 'pin, argument
53 impl<T, U> Struct<T, U> { implementation
96 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
101 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
108 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
110 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dstruct-none.expanded.rs3 struct Struct<T, U> { struct
27 struct __StructProjection<'pin, T, U> argument
29 Struct<T, U>: 'pin, argument
43 impl<T, U> Struct<T, U> { implementation
86 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
91 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
98 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
100 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dstruct-ref.expanded.rs3 struct Struct<T, U> { struct
22 Struct<T, U>: 'pin, argument
53 impl<T, U> Struct<T, U> { implementation
96 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
101 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
108 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
110 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/external/rust/crates/pin-project/tests/expand/pub/
Dstruct.expanded.rs3 pub struct Struct<T, U> { struct
27 pub(crate) struct __StructProjection<'pin, T, U> argument
29 Struct<T, U>: 'pin, argument
43 impl<T, U> Struct<T, U> { implementation
86 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
91 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
98 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
100 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/external/rust/crates/pin-project/tests/expand/default/
Dstruct.expanded.rs3 struct Struct<T, U> { struct
27 struct __StructProjection<'pin, T, U> argument
29 Struct<T, U>: 'pin, argument
43 impl<T, U> Struct<T, U> { implementation
86 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
91 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
98 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
100 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/external/rust/crates/pin-project/tests/expand/pinned_drop/
Dstruct.expanded.rs4 struct Struct<T, U> { struct
28 struct __StructProjection<'pin, T, U> argument
30 Struct<T, U>: 'pin, argument
44 impl<T, U> Struct<T, U> { impl
87 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> implementation
92 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> implementation
96 impl<T, U> _pin_project::__private::Drop for Struct<T, U> { implementation
106 impl<T, U> ::pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dstruct.rs6 struct Struct<T, U> { struct
13 impl<T, U> PinnedDrop for Struct<T, U> { argument
/external/rust/crates/serde_cbor/tests/
Dvalue.rs17 struct Struct<'a> { struct
18 tuple_struct: TupleStruct,
19 tuple: (String, f32, f64),
20 map: BTreeMap<String, String>,
21 bytes: &'a [u8],
22 array: Vec<String>,
23 unit_array: Vec<UnitStruct>,
/external/crosvm/bit_field/tests/
Dtest_enum.rs27 struct Struct { struct
36 let mut s = Struct::new(); in test_enum() argument
Dtest_tuple_struct.rs13 struct Struct { struct
21 let mut s = Struct::new(); in test_enum() argument

12345678910>>...12