Home
last modified time | relevance | path

Searched defs:Cursor (Results 1 – 9 of 9) sorted by relevance

/linux/rust/proc-macro2/
H A Dparse.rs12 pub(crate) struct Cursor<'a> { struct
18 impl<'a> Cursor<'a> { argument
79 fn skip_whitespace(input: Cursor) -> Cursor { in skip_whitespace()
159 fn word_break(input: Cursor) -> Result<Cursor, Reject> { in word_break()
345 fn literal_nocapture(input: Cursor) -> Result<Cursor, Reject> { in literal_nocapture()
365 fn literal_suffix(input: Cursor) -> Cursor { in literal_suffix()
372 fn string(input: Cursor) -> Result<Cursor, Reject> { in string()
382 fn cooked_string(mut input: Cursor) -> Result<Cursor, Reject> { in cooked_string()
416 fn raw_string(input: Cursor) -> Result<Cursor, Reject> { in raw_string()
435 fn byte_string(input: Cursor) -> Result<Cursor, Reject> { in byte_string()
[all …]
H A Dfallback.rs191 fn get_cursor(src: &str) -> Cursor { in get_cursor()
208 fn get_cursor(src: &str) -> Cursor { in get_cursor()
/linux/rust/syn/
H A Dbuffer.rs84 pub fn begin(&self) -> Cursor { in begin()
98 pub struct Cursor<'a> { struct
102 // point at. All other `End` objects are skipped over in `Cursor::create`. argument
104 // Cursor is covariant in 'a. This field ensures that our pointers are still argument
109 impl<'a> Cursor<'a> { implementation
384 impl<'a> Copy for Cursor<'a> {} implementation
386 impl<'a> Clone for Cursor<'a> { implementation
392 impl<'a> Eq for Cursor<'a> {} implementation
394 impl<'a> PartialEq for Cursor<'a> { implementation
400 impl<'a> PartialOrd for Cursor<'a> { implementation
[all …]
H A Dtoken.rs996 pub(crate) fn peek_keyword(cursor: Cursor, token: &str) -> bool { in peek_keyword()
1038 pub fn peek_punct(mut cursor: Cursor, token: &str) -> bool { in peek_punct()
H A Derror.rs329 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at()
H A Dlit.rs899 fn parse_negative_lit(neg: Punct, cursor: Cursor) -> Option<(Lit, Cursor)> { in parse_negative_lit() argument
1026 fn peek_impl(cursor: Cursor, peek: fn(ParseStream) -> bool) -> bool { in peek_impl()
H A Dparse.rs389 cursor: Cursor, in new_parse_buffer()
/linux/rust/kernel/
H A Drbtree.rs811 pub struct Cursor<'a, K, V> { struct
818 unsafe impl<'a, K: Sync, V: Sync> Send for Cursor<'a, K, V> {} argument
822 unsafe impl<'a, K: Sync, V: Sync> Sync for Cursor<'a, K, V> {} implementation
824 impl<'a, K, V> Cursor<'a, K, V> { impl
H A Dlist.rs948 pub struct Cursor<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> { struct
954 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Cursor<'a, T, ID> { argument