Skip to main content

ISlice_1Methods

Trait ISlice_1Methods 

Source
pub trait ISlice_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 20 methods // Provided methods fn ctor( self, list: IList_1_Interface<T0>, from: i32, length: i32, reversed: bool, ) where Self: Sized { ... } fn get_item(self, index: i32) -> T0 where Self: Sized { ... } fn set_item(self, index: i32, value: T0) where Self: Sized { ... } fn get_from(self) -> i32 where Self: Sized { ... } fn get_count(self) -> i32 where Self: Sized { ... } fn get_reversed(self) -> bool where Self: Sized { ... } fn calc_real_index(self, index: i32) -> i32 where Self: Sized { ... } fn get_enumerator(self) -> IEnumerator_1<T0> where Self: Sized { ... } fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator where Self: Sized { ... } fn to_array(self) -> Array<T0> where Self: Sized { ... } fn to_list(self) -> List_1<T0> where Self: Sized { ... } fn index_of(self, item: T0) -> i32 where Self: Sized { ... } fn insert(self, index: i32, item: T0) where Self: Sized { ... } fn remove_at(self, index: i32) where Self: Sized { ... } fn add(self, item: T0) where Self: Sized { ... } fn clear(self) where Self: Sized { ... } fn contains(self, item: T0) -> bool where Self: Sized { ... } fn copy_to(self, array: Array<T0>, array_index: i32) where Self: Sized { ... } fn get_is_read_only(self) -> bool where Self: Sized { ... } fn remove(self, item: T0) -> bool where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor( self, list: IList_1_Interface<T0>, from: i32, length: i32, reversed: bool, )
where Self: Sized,

Source

fn get_item(self, index: i32) -> T0
where Self: Sized,

Source

fn set_item(self, index: i32, value: T0)
where Self: Sized,

Source

fn get_from(self) -> i32
where Self: Sized,

Source

fn get_count(self) -> i32
where Self: Sized,

Source

fn get_reversed(self) -> bool
where Self: Sized,

Source

fn calc_real_index(self, index: i32) -> i32
where Self: Sized,

Source

fn get_enumerator(self) -> IEnumerator_1<T0>
where Self: Sized,

Source

fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
where Self: Sized,

Source

fn to_array(self) -> Array<T0>
where Self: Sized,

Source

fn to_list(self) -> List_1<T0>
where Self: Sized,

Source

fn index_of(self, item: T0) -> i32
where Self: Sized,

Source

fn insert(self, index: i32, item: T0)
where Self: Sized,

Source

fn remove_at(self, index: i32)
where Self: Sized,

Source

fn add(self, item: T0)
where Self: Sized,

Source

fn clear(self)
where Self: Sized,

Source

fn contains(self, item: T0) -> bool
where Self: Sized,

Source

fn copy_to(self, array: Array<T0>, array_index: i32)
where Self: Sized,

Source

fn get_is_read_only(self) -> bool
where Self: Sized,

Source

fn remove(self, item: T0) -> bool
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§