Struct guion::widgets::textbox::state::Cursor [−][src]
Fields
select: u32
caret: u32
Implementations
impl Cursor
[src]
pub fn min(&self, min: u32) -> Self
[src]
pub fn range(&self) -> Range<u32>
[src]
pub fn range_usize(&self) -> Range<usize>
[src]
pub fn range_incl(&self) -> RangeInclusive<u32>
[src]
pub fn start_len(&self) -> (u32, u32)
[src]
pub fn is_selection(&self) -> bool
[src]
pub fn unselect(&mut self)
[src]
pub fn unselect_add(&mut self, o: u32, skip_unselect: bool)
[src]
pub fn unselect_sub(&mut self, o: u32, skip_unselect: bool)
[src]
pub fn unselect_addi(&mut self, o: i32, skip_unselect: bool)
[src]
pub fn limit(&mut self, min: u32)
[src]
pub fn del_selection<'a, S, E>(&mut self, c: &mut S) where
S: CaptionMut<E> + 'a,
[src]
S: CaptionMut<E> + 'a,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E, T> AtomState<E, T> for T where
E: Env,
T: Clone,
[src]
E: Env,
T: Clone,
impl<E, T> AtomStateMut<E, T> for T where
E: Env,
T: Clone,
[src]
E: Env,
T: Clone,
pub fn set_direct(&mut Self, T) -> Result<(), ()>
[src]
fn set(&mut self, v: T, _: &mut E::Context)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> FromInto<U> for T where
T: From<U> + Into<U>,
[src]
T: From<U> + Into<U>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &S)
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &[S])
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,