Home
last modified time | relevance | path

Searched refs:IntoSpans (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/syn/src/
Dspan.rs3 pub trait IntoSpans<S> { trait
7 impl IntoSpans<[Span; 1]> for Span {
13 impl IntoSpans<[Span; 2]> for Span {
19 impl IntoSpans<[Span; 3]> for Span {
25 impl IntoSpans<[Span; 1]> for [Span; 1] { impl
31 impl IntoSpans<[Span; 2]> for [Span; 2] { impl
37 impl IntoSpans<[Span; 3]> for [Span; 3] { impl
Dlookahead.rs4 use crate::span::IntoSpans;
156 impl<S> IntoSpans<S> for TokenMarker {
Dcustom_keyword.rs99 pub fn $ident<__S: $crate::__private::IntoSpans<[$crate::__private::Span; 1]>>(
103 span: $crate::__private::IntoSpans::into_spans(span)[0],
Dexport.rs16 pub use crate::span::IntoSpans;
Dcustom_punctuation.rs86 pub fn $ident<__S: $crate::__private::IntoSpans<$crate::custom_punctuation_repr!($($tt)+)>>(
91 spans: $crate::__private::IntoSpans::into_spans(spans)
Dtoken.rs104 use crate::span::IntoSpans;
256 pub fn $name<S: IntoSpans<[Span; 1]>>(span: S) -> $name {
379 pub fn $name<S: IntoSpans<[Span; $len]>>(spans: S) -> $name {
488 pub fn $name<S: IntoSpans<[Span; 1]>>(span: S) -> $name {