Trait tk::traits::Delete

source ·
pub trait Delete<Inst: TkInstance>where
    Self: Deref<Target = Widget<Inst>>,{
    type Index: Into<Obj>;

    // Provided methods
    fn delete(&self, index: impl Into<Self::Index>) -> InterpResult<()> { ... }
    fn delete_range(
        &self,
        range: impl Into<TkRange<Self::Index>>
    ) -> InterpResult<()> { ... }
}

Required Associated Types§

Provided Methods§

source

fn delete(&self, index: impl Into<Self::Index>) -> InterpResult<()>

source

fn delete_range( &self, range: impl Into<TkRange<Self::Index>> ) -> InterpResult<()>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Inst: TkInstance> Delete<Inst> for TkEntry<Inst>

§

type Index = Index

source§

impl<Inst: TkInstance> Delete<Inst> for TkMenu<Inst>

§

type Index = Index

source§

impl<Inst: TkInstance> Delete<Inst> for TkSpinbox<Inst>

§

type Index = Index

source§

impl<Inst: TkInstance> Delete<Inst> for TkText<Inst>

§

type Index = Index

source§

impl<Inst: TkInstance> Delete<Inst> for TtkCombobox<Inst>

§

type Index = Index

source§

impl<Inst: TkInstance> Delete<Inst> for TtkEntry<Inst>

§

type Index = Index

source§

impl<Inst: TkInstance> Delete<Inst> for TtkSpinbox<Inst>

§

type Index = Index