Home
last modified time | relevance | path

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

1234567891011

/external/rust/crates/pin-project/tests/
Dlint.rs472 pub struct Struct { struct
474 pub p: Box<isize>,
475 pub u: Box<isize>,
491 Struct { enumerator
550 pub struct Struct { struct
553 pub p: (),
555 pub u: (),
579 Struct { enumerator
666 pub struct Struct<'a, T, U> struct
672 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,
29 struct __StructProjection<'pin, T, U> argument
31 Struct<T, U>: 'pin, argument
56 impl<T, U> Struct<T, U> { implementation
141 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
146 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
153 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
155 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/external/rust/crates/pin-project/tests/expand/unsafe_unpin/
Dstruct.expanded.rs3 struct Struct<T, U> { struct
28 Struct<T, U>: 'pin, argument
42 impl<T, U> Struct<T, U> { impl
72 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
79 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
81 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
85 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/examples/
Dunsafe_unpin-expanded.rs26 pub struct Struct<T, U> { struct
35 Struct<T, U>: 'pin, argument
48 impl<T, U> Struct<T, U> { implementation
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> { implementation
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> { implementation
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> {} implementation
Dpinned_drop.rs10 pub struct Struct<'a, T> { struct
17 impl<T> PinnedDrop for Struct<'_, T> { argument
/external/rust/crates/pin-project/tests/expand/not_unpin/
Dstruct.expanded.rs3 struct Struct<T, U> { struct
28 Struct<T, U>: 'pin, argument
42 impl<T, U> Struct<T, U> { impl
72 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
78 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
86 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
88 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
28 Struct<T, U>: 'pin, argument
42 impl<T, U> Struct<T, U> { impl
83 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
88 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
95 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
97 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/external/rust/crates/pin-project/tests/expand/naming/
Dstruct-ref.expanded.rs3 struct Struct<T, U> { struct
21 Struct<T, U>: 'pin, argument
51 impl<T, U> Struct<T, U> { impl
92 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
97 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
104 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
106 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dstruct-none.expanded.rs3 struct Struct<T, U> { struct
28 Struct<T, U>: 'pin, argument
42 impl<T, U> Struct<T, U> { implementation
83 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
88 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
95 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
97 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dstruct-mut.expanded.rs3 struct Struct<T, U> { struct
21 Struct<T, U>: 'pin, argument
51 impl<T, U> Struct<T, U> { implementation
90 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
95 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
102 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
104 impl<T, U> _pin_project::__private::PinnedDrop for Struct<T, U> { implementation
Dstruct-all.expanded.rs3 struct Struct<T, U> { struct
21 Struct<T, U>: 'pin, argument
74 impl<T, U> Struct<T, U> { implementation
132 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
137 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
144 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
146 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
28 Struct<T, U>: 'pin, argument
42 impl<T, U> Struct<T, U> { implementation
83 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
88 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
95 impl<T, U> StructMustNotImplDrop for Struct<T, U> {} implementation
97 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
29 Struct<T, U>: 'pin, argument
43 impl<T, U> Struct<T, U> { implementation
84 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> where implementation
89 unsafe impl<'pin, T, U> _pin_project::UnsafeUnpin for Struct<T, U> where implementation
93 impl<T, U> _pin_project::__private::Drop for Struct<T, U> { implementation
103 impl<T, U> ::pin_project::__private::PinnedDrop for Struct<T, U> { implementation
/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

1234567891011