Lines Matching refs:Text
12 /// Text is a TCL string object backed by a Rust string.
18 pub struct Text {
24 // normally disqualify a Send bound. However, we don't permit Text to be used
28 unsafe impl Send for Text {}
30 impl Drop for Text {
40 impl Text {
41 pub fn new(text: String) -> Text {
48 Text { s: text, obj: obj }
62 pat: Text,
77 let pat = Text::new(pattern.to_owned());
87 pub fn is_match(&self, text: &Text) -> bool {
97 pub fn find_iter<'r, 't>(&'r self, text: &'t Text) -> FindMatches<'r, 't> {
101 fn find_at(&self, text: &Text, start: usize) -> Option<(usize, usize)> {
129 text: &'t Text,