Struct pepper::cursor::CursorCollectionMutGuard[][src]

pub struct CursorCollectionMutGuard<'a> { /* fields omitted */ }

Implementations

impl<'a> CursorCollectionMutGuard<'a>[src]

pub fn clear(&mut self)[src]

pub fn add(&mut self, cursor: Cursor)[src]

pub fn save_display_distances(
    &mut self,
    buffer: &BufferContent,
    tab_size: NonZeroU8
)
[src]

pub fn get_saved_display_distance(&self, index: usize) -> Option<u32>[src]

pub fn set_main_cursor_index(&mut self, index: usize)[src]

pub fn main_cursor(&mut self) -> &mut Cursor[src]

Trait Implementations

impl<'a> Drop for CursorCollectionMutGuard<'a>[src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

impl<'a> Index<RangeFrom<usize>> for CursorCollectionMutGuard<'a>[src]

type Output = [Cursor]

The returned type after indexing.

fn index(&self, index: RangeFrom<usize>) -> &Self::Output[src]

Performs the indexing (container[index]) operation. Read more

impl<'a> Index<RangeFull> for CursorCollectionMutGuard<'a>[src]

type Output = [Cursor]

The returned type after indexing.

fn index(&self, _: RangeFull) -> &Self::Output[src]

Performs the indexing (container[index]) operation. Read more

impl<'a> Index<usize> for CursorCollectionMutGuard<'a>[src]

type Output = Cursor

The returned type after indexing.

fn index(&self, index: usize) -> &Self::Output[src]

Performs the indexing (container[index]) operation. Read more

impl<'a> IndexMut<RangeFrom<usize>> for CursorCollectionMutGuard<'a>[src]

fn index_mut(&mut self, index: RangeFrom<usize>) -> &mut Self::Output[src]

Performs the mutable indexing (container[index]) operation. Read more

impl<'a> IndexMut<RangeFull> for CursorCollectionMutGuard<'a>[src]

fn index_mut(&mut self, _: RangeFull) -> &mut Self::Output[src]

Performs the mutable indexing (container[index]) operation. Read more

impl<'a> IndexMut<usize> for CursorCollectionMutGuard<'a>[src]

fn index_mut(&mut self, index: usize) -> &mut Self::Output[src]

Performs the mutable indexing (container[index]) operation. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.