[−]Struct gtk::TextIter
Methods
impl TextIter
[src]
pub fn assign(&mut self, other: &TextIter)
[src]
pub fn backward_char(&mut self) -> bool
[src]
pub fn backward_chars(&mut self, count: i32) -> bool
[src]
pub fn backward_cursor_position(&mut self) -> bool
[src]
pub fn backward_cursor_positions(&mut self, count: i32) -> bool
[src]
pub fn backward_find_char<'a, P: FnMut(char) -> bool, Q: Into<Option<&'a TextIter>>>(
&mut self,
pred: P,
limit: Q
) -> bool
[src]
&mut self,
pred: P,
limit: Q
) -> bool
pub fn backward_line(&mut self) -> bool
[src]
pub fn backward_lines(&mut self, count: i32) -> bool
[src]
pub fn backward_search<'a, P: Into<Option<&'a TextIter>>>(
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
[src]
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
pub fn backward_sentence_start(&mut self) -> bool
[src]
pub fn backward_sentence_starts(&mut self, count: i32) -> bool
[src]
pub fn backward_to_tag_toggle<'a, P: IsA<TextTag> + 'a, Q: Into<Option<&'a P>>>(
&mut self,
tag: Q
) -> bool
[src]
&mut self,
tag: Q
) -> bool
pub fn backward_visible_cursor_position(&mut self) -> bool
[src]
pub fn backward_visible_cursor_positions(&mut self, count: i32) -> bool
[src]
pub fn backward_visible_line(&mut self) -> bool
[src]
pub fn backward_visible_lines(&mut self, count: i32) -> bool
[src]
pub fn backward_visible_word_start(&mut self) -> bool
[src]
pub fn backward_visible_word_starts(&mut self, count: i32) -> bool
[src]
pub fn backward_word_start(&mut self) -> bool
[src]
pub fn backward_word_starts(&mut self, count: i32) -> bool
[src]
pub fn begins_tag<'a, P: IsA<TextTag> + 'a, Q: Into<Option<&'a P>>>(
&self,
tag: Q
) -> bool
[src]
&self,
tag: Q
) -> bool
pub fn can_insert(&self, default_editability: bool) -> bool
[src]
pub fn editable(&self, default_setting: bool) -> bool
[src]
pub fn ends_line(&self) -> bool
[src]
pub fn ends_sentence(&self) -> bool
[src]
pub fn ends_tag<'a, P: IsA<TextTag> + 'a, Q: Into<Option<&'a P>>>(
&self,
tag: Q
) -> bool
[src]
&self,
tag: Q
) -> bool
pub fn ends_word(&self) -> bool
[src]
pub fn forward_char(&mut self) -> bool
[src]
pub fn forward_chars(&mut self, count: i32) -> bool
[src]
pub fn forward_cursor_position(&mut self) -> bool
[src]
pub fn forward_cursor_positions(&mut self, count: i32) -> bool
[src]
pub fn forward_find_char<'a, P: FnMut(char) -> bool, Q: Into<Option<&'a TextIter>>>(
&mut self,
pred: P,
limit: Q
) -> bool
[src]
&mut self,
pred: P,
limit: Q
) -> bool
pub fn forward_line(&mut self) -> bool
[src]
pub fn forward_lines(&mut self, count: i32) -> bool
[src]
pub fn forward_search<'a, P: Into<Option<&'a TextIter>>>(
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
[src]
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
pub fn forward_sentence_end(&mut self) -> bool
[src]
pub fn forward_sentence_ends(&mut self, count: i32) -> bool
[src]
pub fn forward_to_end(&mut self)
[src]
pub fn forward_to_line_end(&mut self) -> bool
[src]
pub fn forward_to_tag_toggle<'a, P: IsA<TextTag> + 'a, Q: Into<Option<&'a P>>>(
&mut self,
tag: Q
) -> bool
[src]
&mut self,
tag: Q
) -> bool
pub fn forward_visible_cursor_position(&mut self) -> bool
[src]
pub fn forward_visible_cursor_positions(&mut self, count: i32) -> bool
[src]
pub fn forward_visible_line(&mut self) -> bool
[src]
pub fn forward_visible_lines(&mut self, count: i32) -> bool
[src]
pub fn forward_visible_word_end(&mut self) -> bool
[src]
pub fn forward_visible_word_ends(&mut self, count: i32) -> bool
[src]
pub fn forward_word_end(&mut self) -> bool
[src]
pub fn forward_word_ends(&mut self, count: i32) -> bool
[src]
pub fn get_buffer(&self) -> Option<TextBuffer>
[src]
pub fn get_bytes_in_line(&self) -> i32
[src]
pub fn get_char(&self) -> Option<char>
[src]
pub fn get_chars_in_line(&self) -> i32
[src]
pub fn get_child_anchor(&self) -> Option<TextChildAnchor>
[src]
pub fn get_language(&self) -> Option<Language>
[src]
pub fn get_line(&self) -> i32
[src]
pub fn get_line_index(&self) -> i32
[src]
pub fn get_line_offset(&self) -> i32
[src]
pub fn get_marks(&self) -> Vec<TextMark>
[src]
pub fn get_offset(&self) -> i32
[src]
pub fn get_pixbuf(&self) -> Option<Pixbuf>
[src]
pub fn get_slice(&self, end: &TextIter) -> Option<GString>
[src]
pub fn get_tags(&self) -> Vec<TextTag>
[src]
pub fn get_text(&self, end: &TextIter) -> Option<GString>
[src]
pub fn get_toggled_tags(&self, toggled_on: bool) -> Vec<TextTag>
[src]
pub fn get_visible_line_index(&self) -> i32
[src]
pub fn get_visible_line_offset(&self) -> i32
[src]
pub fn get_visible_slice(&self, end: &TextIter) -> Option<GString>
[src]
pub fn get_visible_text(&self, end: &TextIter) -> Option<GString>
[src]
pub fn has_tag<P: IsA<TextTag>>(&self, tag: &P) -> bool
[src]
pub fn in_range(&self, start: &TextIter, end: &TextIter) -> bool
[src]
pub fn inside_sentence(&self) -> bool
[src]
pub fn inside_word(&self) -> bool
[src]
pub fn is_cursor_position(&self) -> bool
[src]
pub fn is_end(&self) -> bool
[src]
pub fn is_start(&self) -> bool
[src]
pub fn order(&mut self, second: &mut TextIter)
[src]
pub fn set_line(&mut self, line_number: i32)
[src]
pub fn set_line_index(&mut self, byte_on_line: i32)
[src]
pub fn set_line_offset(&mut self, char_on_line: i32)
[src]
pub fn set_offset(&mut self, char_offset: i32)
[src]
pub fn set_visible_line_index(&mut self, byte_on_line: i32)
[src]
pub fn set_visible_line_offset(&mut self, char_on_line: i32)
[src]
pub fn starts_line(&self) -> bool
[src]
pub fn starts_sentence(&self) -> bool
[src]
pub fn starts_word(&self) -> bool
[src]
pub fn toggles_tag<'a, P: IsA<TextTag> + 'a, Q: Into<Option<&'a P>>>(
&self,
tag: Q
) -> bool
[src]
&self,
tag: Q
) -> bool
impl TextIter
[src]
pub fn get_attributes(&self, values: &TextAttributes) -> bool
[src]
Trait Implementations
impl PartialEq<TextIter> for TextIter
[src]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Ord for TextIter
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Clone for TextIter
fn clone(&self) -> TextIter
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for TextIter
[src]
impl PartialOrd<TextIter> for TextIter
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for TextIter
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for TextIter
[src]
impl StaticType for TextIter
fn static_type() -> Type
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,