Home
last modified time | relevance | path

Searched defs:Sized (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/third_party/rust/crates/syn/src/gen/
Dvisit_mut.rs931 V: VisitMut + ?Sized, in visit_abi_mut()
945 V: VisitMut + ?Sized, in visit_angle_bracketed_generic_arguments_mut()
959 V: VisitMut + ?Sized, in visit_arm_mut()
977 V: VisitMut + ?Sized, in visit_assoc_const_mut()
990 V: VisitMut + ?Sized, in visit_assoc_type_mut()
1003 V: VisitMut + ?Sized, in visit_attr_style_mut()
1016 V: VisitMut + ?Sized, in visit_attribute_mut()
1027 V: VisitMut + ?Sized, in visit_bare_fn_arg_mut()
1040 pub fn visit_bare_variadic_mut<V>(v: &mut V, node: &mut BareVariadic) in visit_bare_variadic_mut()
1058 V: VisitMut + ?Sized, in visit_bin_op_mut()
[all …]
Dfold.rs934 F: Fold + ?Sized, in fold_abi()
946 ) -> AngleBracketedGenericArguments in fold_angle_bracketed_generic_arguments()
961 F: Fold + ?Sized, in fold_arm()
974 pub fn fold_assoc_const<F>(f: &mut F, node: AssocConst) -> AssocConst in fold_assoc_const()
987 pub fn fold_assoc_type<F>(f: &mut F, node: AssocType) -> AssocType in fold_assoc_type()
1000 pub fn fold_attr_style<F>(f: &mut F, node: AttrStyle) -> AttrStyle in fold_attr_style()
1011 pub fn fold_attribute<F>(f: &mut F, node: Attribute) -> Attribute in fold_attribute()
1024 pub fn fold_bare_fn_arg<F>(f: &mut F, node: BareFnArg) -> BareFnArg in fold_bare_fn_arg()
1036 pub fn fold_bare_variadic<F>(f: &mut F, node: BareVariadic) -> BareVariadic in fold_bare_variadic()
1049 pub fn fold_bin_op<F>(f: &mut F, node: BinOp) -> BinOp in fold_bin_op()
[all …]
Dvisit.rs930 V: Visit<'ast> + ?Sized, in visit_abi()
944 V: Visit<'ast> + ?Sized, in visit_angle_bracketed_generic_arguments()
958 V: Visit<'ast> + ?Sized, in visit_arm()
976 V: Visit<'ast> + ?Sized, in visit_assoc_const()
989 V: Visit<'ast> + ?Sized, in visit_assoc_type()
1002 V: Visit<'ast> + ?Sized, in visit_attr_style()
1015 V: Visit<'ast> + ?Sized, in visit_attribute()
1026 V: Visit<'ast> + ?Sized, in visit_bare_fn_arg()
1041 V: Visit<'ast> + ?Sized, in visit_bare_variadic()
1057 V: Visit<'ast> + ?Sized, in visit_bin_op()
[all …]
/third_party/rust/rust/tests/ui/derives/
Dderive-Debug-use-ufcs-struct.rs9 fn field(&self, _: impl Sized, _: impl Sized) { in field()
17 fn debug_struct(&self, _: impl Sized, _: impl Sized) { in debug_struct()
24 fn field(&mut self, _: impl Sized, _: impl Sized) { in field()
32 fn debug_struct(&mut self, _: impl Sized, _: impl Sized) { in debug_struct()
/third_party/rust/rust/library/core/src/iter/traits/
Diterator.rs150 Self: Sized,
264 Self: Sized, in count()
293 fn last(self) -> Option<Self::Item> in last()
447 fn step_by(self, step: usize) -> StepBy<Self> in step_by()
521 Self: Sized, in chain()
640 Self: Sized, in zip()
681 fn intersperse(self, separator: Self::Item) -> Intersperse<Self> in intersperse()
742 Self: Sized, in intersperse_with()
802 Self: Sized, in map()
848 Self: Sized, in for_each()
[all …]
/third_party/rust/rust/tests/rustdoc-gui/src/lib2/
Dlib.rs199 Self: Sized; in count()
200 fn last(self) -> Option<Self::Item> in last()
205 fn step_by(self, step: usize) -> StepBy<Self> in step_by()
210 Self: Sized, in chain()
214 Self: Sized, in zip()
216 fn intersperse(self, separator: Self::Item) -> Intersperse<Self> in intersperse()
222 Self: Sized, in intersperse_with()
226 Self: Sized, in map()
230 Self: Sized, in for_each()
234 Self: Sized, in filter()
[all …]
/third_party/rust/rust/tests/ui/unsized/
Dunsized-struct.rs1 fn is_sized<T:Sized>() { } in is_sized()
2 fn not_sized<T: ?Sized>() { } in not_sized()
6 fn foo2<T: ?Sized>() { not_sized::<Foo<T>>() } in foo2()
12 fn bar1<T: ?Sized>() { not_sized::<Bar<T>>() } in bar1()
13 fn bar2<T: ?Sized>() { is_sized::<Bar<T>>() } in bar2()
Dunsized-enum.rs1 fn is_sized<T:Sized>() { } in is_sized()
2 fn not_sized<T: ?Sized>() { } in not_sized()
6 fn foo2<T: ?Sized>() { not_sized::<Foo<T>>() } in foo2()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dobjc_method.rs25 <Self as std::ops::Deref>::Target: objc::Message + Sized, in method()
31 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithInt_()
37 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithFoo_()
43 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodReturningInt()
49 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodReturningFoo()
60 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithArg1_andArg2_andArg3_()
72 <Self as std::ops::Deref>::Target: objc::Message + Sized, in methodWithAndWithoutKeywords_arg2Name__arg4Name_()
/third_party/rust/rust/tests/ui/closures/
Dclosure-return-type-must-be-sized.rs14 pub fn bar<F: FnOnce() -> R, R: ?Sized>() {} in bar() argument
16 pub fn baz<F: FnOnce<()>>() where F::Output: A, F::Output: Sized { in baz()
28 pub fn bar<F: Fn() -> R, R: ?Sized>() {} in bar() argument
30 pub fn baz<F: Fn<()>>() where F::Output: A, F::Output: Sized { in baz()
42 pub fn bar<F: FnMut() -> R, R: ?Sized>() {} in bar() argument
44 pub fn baz<F: FnMut<()>>() where F::Output: A, F::Output: Sized { in baz()
/third_party/rust/rust/library/core/src/ptr/
Dmut_ptr.rs93 pub const fn with_metadata_of<U>(self, meta: *const U) -> *mut U in with_metadata_of()
148 T: Sized, in to_bits()
176 pub fn from_bits(bits: usize) -> Self in from_bits()
409 pub const unsafe fn as_uninit_ref<'a>(self) -> Option<&'a MaybeUninit<T>> in as_uninit_ref()
472 pub const unsafe fn offset(self, count: isize) -> *mut T in offset()
553 pub const fn wrapping_offset(self, count: isize) -> *mut T in wrapping_offset()
714 pub const unsafe fn as_uninit_mut<'a>(self) -> Option<&'a mut MaybeUninit<T>> in as_uninit_mut()
743 pub const fn guaranteed_eq(self, other: *mut T) -> Option<bool> in guaranteed_eq()
770 pub const fn guaranteed_ne(self, other: *mut T) -> Option<bool> in guaranteed_ne()
862 pub const unsafe fn offset_from(self, origin: *const T) -> isize in offset_from()
[all …]
Dconst_ptr.rs94 pub const fn with_metadata_of<U>(self, meta: *const U) -> *const U in with_metadata_of()
143 T: Sized, in to_bits()
171 pub fn from_bits(bits: usize) -> Self in from_bits()
398 pub const unsafe fn as_uninit_ref<'a>(self) -> Option<&'a MaybeUninit<T>> in as_uninit_ref()
461 pub const unsafe fn offset(self, count: isize) -> *const T in offset()
541 pub const fn wrapping_offset(self, count: isize) -> *const T in wrapping_offset()
690 pub const unsafe fn offset_from(self, origin: *const T) -> isize in offset_from()
782 pub const unsafe fn sub_ptr(self, origin: *const T) -> usize in sub_ptr()
822 pub const fn guaranteed_eq(self, other: *const T) -> Option<bool> in guaranteed_eq()
852 pub const fn guaranteed_ne(self, other: *const T) -> Option<bool> in guaranteed_ne()
[all …]
/third_party/rust/rust/tests/ui/const-generics/generic_const_exprs/
Dnested-abstract-consts-1.rs5 fn callee<const M2: usize>() -> usize in callee()
12 fn caller<const N1: usize>() -> usize in caller()
15 [u8; (N1 + 1) + 1]: Sized,
/third_party/rust/rust/tests/ui/coherence/
Dcoherence-impls-sized.rs20 impl Sized for (MyType, MyType) {} impl
24 impl Sized for &'static NotSync {} impl
27 impl Sized for [MyType] {} impl
31 impl Sized for &'static [NotSync] {} impl
/third_party/rust/rust/tests/ui/suggestions/
Dremoval-of-multiline-trait-bound-in-where-clause.rs3 fn foo<T>(foo: Wrapper<T>) in foo()
14 fn bar<T>(foo: Wrapper<T>) in bar()
21 fn qux<T>(foo: Wrapper<T>) in qux()
/third_party/rust/rust/tests/ui/impl-trait/in-trait/
Ddont-project-to-rpitit-with-no-value.rs7 fn foo(&self) -> impl Sized; in foo()
8 fn bar(&self) -> impl Sized; in bar()
13 fn bar(&self) -> impl Sized { in bar()
/third_party/rust/rust/tests/ui/invalid-compile-flags/
Dbranch-protection-missing-pac-ret.rs14 trait Sized { } interface
/third_party/rust/rust/tests/codegen/
Dtied-features-strength.rs27 trait Sized {} trait
Dno-jump-tables.rs14 trait Sized {} interface
Ddefault-requires-uwtable.rs13 trait Sized {} interface
Dstack-probes-call.rs18 trait Sized {} trait
Dbranch-protection.rs16 trait Sized { } trait
/third_party/rust/rust/tests/ui/target-feature/
Dtied-features-cli.rs18 trait Sized {} interface
/third_party/rust/rust/tests/ui/cmse-nonsecure/cmse-nonsecure-call/
Dwrong-abi-location-2.rs6 trait Sized { } trait
/third_party/rust/rust/tests/assembly/
Daarch64-pointer-auth.rs14 trait Sized {} trait

12345678910>>...19