Home
last modified time | relevance | path

Searched defs:Box (Results 1 – 25 of 170) sorted by relevance

1234567

/third_party/rust/rust/library/alloc/src/
Dboxed.rs195 pub struct Box< struct
200 impl<T> Box<T> { implementation
360 impl<T, A: Allocator> Box<T, A> { implementation
602 impl<T> Box<[T]> { impl
721 impl<T, A: Allocator> Box<[T], A> { implementation
781 impl<T, A: Allocator> Box<mem::MaybeUninit<T>, A> { implementation
854 impl<T, A: Allocator> Box<[mem::MaybeUninit<T>], A> { implementation
893 impl<T: ?Sized> Box<T> { impl
943 impl<T: ?Sized, A: Allocator> Box<T, A> { implementation
1213 unsafe impl<#[may_dangle] T: ?Sized, A: Allocator> Drop for Box<T, A> { implementation
[all …]
/third_party/rust/rust/tests/ui/associated-types/
Dassociated-type-projection-ambig-between-bound-and-where-clause.rs10 pub trait Box { interface
20 fn b<C>(_: C::Color) where C : Vehicle+Box { in b()
24 fn c<C>(_: C::Color) where C : Vehicle, C : Box { in c()
30 fn d(&self, _: X::Color) where X : Box { } in d()
35 fn e(&self, _: X::Color) where X : Box; in e()
38 fn f(&self, _: X::Color) where X : Box { } in f()
/third_party/rust/rust/tests/ui/self/
Dexplicit-self-closures.rs7 struct Box { struct
11 impl Box { implementation
/third_party/rust/rust/tests/ui/regions/
Dregions-early-bound-error-method.rs8 struct Box<'a> { struct
12 impl<'a> GetRef<'a> for Box<'a> { argument
18 impl<'a> Box<'a> { impl
Dregions-early-bound-used-in-bound-method.rs11 struct Box<'a> { struct
15 impl<'a> GetRef<'a> for Box<'a> { implementation
21 impl<'a> Box<'a> { implementation
Dregions-early-bound-used-in-type-param.rs11 struct Box<T> { struct
15 impl<T:Clone> Get<T> for Box<T> { argument
Dregions-early-bound-used-in-bound.rs11 struct Box<'a, T:'a> { struct
15 impl<'a,T:Clone> GetRef<'a,T> for Box<'a,T> { implementation
Dregions-early-bound-error.rs8 struct Box<'a, T:'a> { struct
12 impl<'a,T:Clone> GetRef<'a,T> for Box<'a,T> { argument
/third_party/rust/rust/tests/ui/coherence/
Dimpl[t]-foreign[local]-for-fundamental[foreign[t]].rs12 impl<T> Remote1<Local> for Box<Rc<T>> {} implementation
13 impl<T, S> Remote1<Local1<S>> for Box<Rc<T>> {} implementation
14 impl<T> Remote1<Box<Local>> for Box<Rc<T>> {} implementation
15 impl<T, S> Remote1<Box<Local1<S>>> for Box<Rc<T>> {} implementation
Dimpl-foreign-for-fundamental[foreign].rs10 impl Remote for Box<i32> { implementation
14 impl<T> Remote for Box<Rc<T>> { implementation
Dimpl-foreign-for-fundamental[local].rs12 impl Remote for Box<Local> {} implementation
13 impl<T> Remote for Box<Local1<T>> {} implementation
Dcoherence-overlap-negative-trait.rs13 impl From<&str> for Box<dyn Error> {} implementation
14 impl<E> From<E> for Box<dyn Error> where E: Error {} implementation
Dcoherence_copy_like.rs16 impl MyTrait for Box<MyType> { } implementation
17 impl<'a> MyTrait for &'a Box<MyType> { } implementation
/third_party/rust/rust/tests/ui/borrowck/
Dborrowck-scope-of-deref-issue-4666.rs7 struct Box { struct
11 impl Box { implementation
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/
DesextcFragmentShadingRateAttachmentTests.hpp65 struct Box struct in glcts::FragmentShadingRateAttachment
67 bool in(deUint32 xIn, deUint32 yIn) in in()
71 deUint32 x;
72 deUint32 y;
73 deUint32 width;
74 deUint32 height;
/third_party/rust/rust/tests/rustdoc/notable-trait/
Ddoc-notable_trait_box_is_not_an_iterator.rs6 pub struct Box<T>; struct
8 impl<T> Box<T> { implementation
17 impl<I: FakeIterator> FakeIterator for Box<I> {} implementation
/third_party/rust/rust/tests/ui/pattern/usefulness/
Dissue-82772-match-box-as-struct.rs4 let Box { 1: _, .. }: Box<()>; //~ ERROR field `1` of in main() localVariable
5 let Box { .. }: Box<()>; in main() localVariable
/third_party/rust/rust/tests/ui/typeck/
Dissue-82772.rs5 let Box { 0: _, .. }: Box<()>; //~ ERROR field `0` of in main() localVariable
6 let Box { 1: _, .. }: Box<()>; //~ ERROR field `1` of in main() localVariable
/third_party/rust/rust/tests/ui/type/
Dtype-recursive-box-shadowed.rs3 struct Box<T> { struct
4 t: T,
/third_party/typescript/tests/cases/conformance/externalModules/typeOnly/
DexportDeclaration_missingBraces.ts9 class Box<T> {} class
18 export type Box; alias
/third_party/typescript/tests/baselines/reference/
DmappedTypes3.js2 class Box<P> { class
43 function Box() { class in Box
/third_party/rust/rust/tests/ui/mir/
Dssa-analysis-regression-50041.rs13 pub struct Box<T: ?Sized>(Unique<T>); struct
15 impl<T: ?Sized> Drop for Box<T> { implementation
/third_party/rust/rust/tests/ui/generic-associated-types/
Dissue-78113-lifetime-mismatch-dyn-trait-box.rs7 impl A for Box<dyn A> {} implementation
19 impl C for Box<dyn A + 'static> {} implementation
29 impl E for (Box<dyn A>, Box<dyn A>) {} implementation
/third_party/rust/rust/tests/ui/specialization/
Dnon-defaulted-item-fail.rs19 impl<T> Foo for Box<T> { implementation
26 impl Foo for Box<i32> {} implementation
29 impl Foo for Box<i64> { implementation
/third_party/rust/rust/tests/ui/traits/new-solver/
Dnegative-coherence-bounds.rs22 impl<I: Iterator + ?Sized> BoxIter for Box<I> { implementation
34 impl<I: Iterator> BoxIter for Box<I> { implementation

1234567