Home
last modified time | relevance | path

Searched refs:Item (Results 1 – 25 of 36) sorted by relevance

12

/linux/rust/syn/
H A Dpunctuated.rs461 fn from_iter<I: IntoIterator<Item = T>>(i: I) -> Self { in from_iter() argument
472 fn extend<I: IntoIterator<Item = T>>(&mut self, i: I) { in extend() argument
480 fn from_iter<I: IntoIterator<Item = Pair<T, P>>>(i: I) -> Self { in from_iter() argument
491 fn extend<I: IntoIterator<Item = Pair<T, P>>>(&mut self, i: I) { in extend() argument
501 I: Iterator<Item = Pair<T, P>>, in do_extend() argument
519 type Item = T; typedef
534 type Item = &'a T; typedef
543 type Item = &'a mut T; typedef
568 type Item = Pair<&'a T, &'a P>; typedef
570 fn next(&mut self) -> Option<Self::Item> { in next() argument
[all …]
H A Derror.rs414 type Item = Error; typedef
429 type Item = Error; typedef
431 fn next(&mut self) -> Option<Self::Item> { in next() argument
439 type Item = Error; typedef
454 type Item = Error; typedef
456 fn next(&mut self) -> Option<Self::Item> { in next() argument
464 fn extend<T: IntoIterator<Item = Error>>(&mut self, iter: T) { in extend() argument
H A Ditem.rs32 pub enum Item {
211 pub content: Option<(token::Brace, Vec<Item>)>,
322 impl Item { impl
326 Item::Const(ItemConst { attrs, .. }) in replace_attrs()
327 | Item::Enum(ItemEnum { attrs, .. }) in replace_attrs()
328 | Item::ExternCrate(ItemExternCrate { attrs, .. }) in replace_attrs()
329 | Item::Fn(ItemFn { attrs, .. }) in replace_attrs()
330 | Item::ForeignMod(ItemForeignMod { attrs, .. }) in replace_attrs()
331 | Item::Impl(ItemImpl { attrs, .. }) in replace_attrs()
332 | Item::Macro(ItemMacro { attrs, .. }) in replace_attrs()
[all …]
H A Dgenerics.rs110 pub fn lifetimes(&self) -> impl Iterator<Item = &LifetimeParam> [Lifetimes] {
117 pub fn lifetimes_mut(&mut self) -> impl Iterator<Item = &mut LifetimeParam> [LifetimesMut] {
124 pub fn type_params(&self) -> impl Iterator<Item = &TypeParam> [TypeParams] {
131 pub fn type_params_mut(&mut self) -> impl Iterator<Item = &mut TypeParam> [TypeParamsMut] {
138 pub fn const_params(&self) -> impl Iterator<Item = &ConstParam> [ConstParams] {
145 … pub fn const_params_mut(&mut self) -> impl Iterator<Item = &mut ConstParam> [ConstParamsMut] {
190 type Item = &'a LifetimeParam; typedef
192 fn next(&mut self) -> Option<Self::Item> { in next() argument
204 type Item = &'a mut LifetimeParam; typedef
206 fn next(&mut self) -> Option<Self::Item> { in next() argument
[all …]
H A Ddata.rs143 pub fn members(&self) -> impl Iterator<Item = Member> + Clone + '_ [Members] {
153 type Item = Field; typedef
166 type Item = &'a Field; typedef
175 type Item = &'a mut Field; typedef
210 type Item = Member; typedef
212 fn next(&mut self) -> Option<Self::Item> { in next() argument
H A Dfile.rs4 use crate::item::Item;
84 pub items: Vec<Item>,
H A Dstmt.rs5 use crate::item::Item;
28 Item(Item),
168 Stmt::Local(_) | Stmt::Item(_) | Stmt::Expr(_, Some(_)) => false, in parse_within()
262 Ok(Stmt::Item(item)) in parse_stmt()
440 Stmt::Item(item) => item.to_tokens(tokens), in to_tokens()
/linux/rust/kernel/sync/lock/
H A Dglobal.rs26 type Item: 'static; typedef
37 inner: Lock<B::Item, B::Backend>,
47 pub const unsafe fn new(data: B::Item) -> Self { in new()
98 inner: Guard<'static, B::Item, B::Backend>,
102 type Target = B::Item;
111 B::Item: Unpin,
131 LockedBy<T, B::Item>: Send,
140 LockedBy<T, B::Item>: Sync,
274 type Item = $valuety;
/linux/rust/quote/
H A Dext.rs38 I::Item: ToTokens; in append_all()
47 I::Item: ToTokens, in append_separated()
57 I::Item: ToTokens, in append_terminated()
72 I::Item: ToTokens, in append_all()
82 I::Item: ToTokens, in append_separated()
96 I::Item: ToTokens, in append_terminated()
H A Druntime.rs181 type Item = T::Item; typedef
183 fn next(&mut self) -> Option<Self::Item> { in next() argument
/linux/rust/proc-macro2/
H A Drcvec.rs81 pub(crate) fn extend(&mut self, iter: impl IntoIterator<Item = T>) { in extend() argument
103 pub(crate) fn extend(&mut self, iter: impl IntoIterator<Item = T>) { in extend() argument
126 type Item = T; typedef
137 type Item = T; typedef
139 fn next(&mut self) -> Option<Self::Item> { in next() argument
H A Dlib.rs284 fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, streams: I) { in extend() argument
290 fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I) { in extend() argument
298 fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self { in from_iter() argument
303 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter() argument
1322 type Item = TokenTree; typedef
1341 type Item = TokenTree; typedef
H A Dwrapper.rs193 fn from_iter<I: IntoIterator<Item = TokenTree>>(trees: I) -> Self { in from_iter() argument
205 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter() argument
229 fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, stream: I) { in extend() argument
243 fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I) { in extend() argument
320 type Item = TokenTree; typedef
334 type Item = TokenTree; typedef
H A Dfallback.rs273 fn from_iter<I: IntoIterator<Item = TokenTree>>(tokens: I) -> Self { in from_iter() argument
281 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter() argument
293 fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, tokens: I) { in extend() argument
302 fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I) { in extend() argument
310 type Item = TokenTree; typedef
/linux/rust/syn/gen/
H A Dclone.rs1089 impl Clone for crate::Item { implementation
1092 crate::Item::Const(v0) => crate::Item::Const(v0.clone()), in clone()
1093 crate::Item::Enum(v0) => crate::Item::Enum(v0.clone()), in clone()
1094 crate::Item::ExternCrate(v0) => crate::Item::ExternCrate(v0.clone()), in clone()
1095 crate::Item::Fn(v0) => crate::Item::Fn(v0.clone()), in clone()
1096 crate::Item::ForeignMod(v0) => crate::Item::ForeignMod(v0.clone()), in clone()
1097 crate::Item::Impl(v0) => crate::Item::Impl(v0.clone()), in clone()
1098 crate::Item::Macro(v0) => crate::Item::Macro(v0.clone()), in clone()
1099 crate::Item::Mod(v0) => crate::Item::Mod(v0.clone()), in clone()
1100 crate::Item::Static(v0) => crate::Item::Static(v0.clone()), in clone()
[all …]
H A Deq.rs1101 impl Eq for crate::Item {} implementation
1104 impl PartialEq for crate::Item { implementation
1107 (crate::Item::Const(self0), crate::Item::Const(other0)) => self0 == other0, in eq()
1108 (crate::Item::Enum(self0), crate::Item::Enum(other0)) => self0 == other0, in eq()
1109 (crate::Item::ExternCrate(self0), crate::Item::ExternCrate(other0)) => { in eq()
1112 (crate::Item::Fn(self0), crate::Item::Fn(other0)) => self0 == other0, in eq()
1113 (crate::Item::ForeignMod(self0), crate::Item::ForeignMod(other0)) => { in eq()
1116 (crate::Item::Impl(self0), crate::Item::Impl(other0)) => self0 == other0, in eq()
1117 (crate::Item::Macro(self0), crate::Item::Macro(other0)) => self0 == other0, in eq()
1118 (crate::Item::Mod(self0), crate::Item::Mod(other0)) => self0 == other0, in eq()
[all …]
H A Dfold.rs487 fn fold_item(&mut self, i: crate::Item) -> crate::Item { in fold_item() argument
2366 pub fn fold_item<F>(f: &mut F, node: crate::Item) -> crate::Item in fold_item()
2371 crate::Item::Const(_binding_0) => { in fold_item()
2372 crate::Item::Const(f.fold_item_const(_binding_0)) in fold_item()
2374 crate::Item::Enum(_binding_0) => crate::Item::Enum(f.fold_item_enum(_binding_0)), in fold_item()
2375 crate::Item::ExternCrate(_binding_0) => { in fold_item()
2376 crate::Item::ExternCrate(f.fold_item_extern_crate(_binding_0)) in fold_item()
2378 crate::Item::Fn(_binding_0) => crate::Item::Fn(f.fold_item_fn(_binding_0)), in fold_item()
2379 crate::Item::ForeignMod(_binding_0) => { in fold_item()
2380 crate::Item::ForeignMod(f.fold_item_foreign_mod(_binding_0)) in fold_item()
[all …]
H A Dhash.rs1395 impl Hash for crate::Item { implementation
1401 crate::Item::Const(v0) => { in hash()
1405 crate::Item::Enum(v0) => { in hash()
1409 crate::Item::ExternCrate(v0) => { in hash()
1413 crate::Item::Fn(v0) => { in hash()
1417 crate::Item::ForeignMod(v0) => { in hash()
1421 crate::Item::Impl(v0) => { in hash()
1425 crate::Item::Macro(v0) => { in hash()
1429 crate::Item::Mod(v0) => { in hash()
1433 crate::Item::Static(v0) => { in hash()
[all …]
H A Ddebug.rs1612 impl Debug for crate::Item { implementation
1616 crate::Item::Const(v0) => v0.debug(formatter, "Const"), in fmt()
1617 crate::Item::Enum(v0) => v0.debug(formatter, "Enum"), in fmt()
1618 crate::Item::ExternCrate(v0) => v0.debug(formatter, "ExternCrate"), in fmt()
1619 crate::Item::Fn(v0) => v0.debug(formatter, "Fn"), in fmt()
1620 crate::Item::ForeignMod(v0) => v0.debug(formatter, "ForeignMod"), in fmt()
1621 crate::Item::Impl(v0) => v0.debug(formatter, "Impl"), in fmt()
1622 crate::Item::Macro(v0) => v0.debug(formatter, "Macro"), in fmt()
1623 crate::Item::Mod(v0) => v0.debug(formatter, "Mod"), in fmt()
1624 crate::Item::Static(v0) => v0.debug(formatter, "Static"), in fmt()
[all …]
/linux/rust/kernel/
H A Drbtree.rs231 pub fn keys(&self) -> impl Iterator<Item = &'_ K> { in keys() argument
236 pub fn values(&self) -> impl Iterator<Item = &'_ V> { in values() argument
241 pub fn values_mut(&mut self) -> impl Iterator<Item = &'_ mut V> { in values_mut() argument
1082 type Item = (&'a K, &'a V); typedef
1107 type Item = (&'a K, &'a V); typedef
1109 fn next(&mut self) -> Option<Self::Item> { in next() argument
1116 type Item = (&'a K, &'a mut V); typedef
1142 type Item = (&'a K, &'a mut V); typedef
1144 fn next(&mut self) -> Option<Self::Item> { in next() argument
1162 type Item = (*mut K, *mut V); typedef
[all …]
H A Dlist.rs780 type Item = ArcBorrow<'a, T>; typedef
1171 type Item = ArcBorrow<'a, T>; typedef
1184 type Item = ListArc<T, ID>; typedef
1201 type Item = ListArc<T, ID>; typedef
H A Dscatterlist.rs474 type Item = &'a SGEntry; typedef
476 fn next(&mut self) -> Option<Self::Item> { in next() argument
/linux/Documentation/filesystems/ext4/
H A Dblocks.rst23 * - Item
85 * - Item
/linux/rust/kernel/alloc/
H A Dkvec.rs1014 type Item = &'a T; typedef
1026 type Item = &'a mut T; typedef
1198 type Item = T; typedef
1272 type Item = T; typedef
1330 type Item = T; typedef
H A Dkbox.rs336 pub fn pin_slice<Func, Item, E>( in pin_slice() argument
342 Func: FnMut(usize) -> Item, in pin_slice() argument
343 Item: PinInit<T, E>, in pin_slice()

12