pub trait IIListMethods: IIList {
// Provided methods
fn get_item(self, index: impl Into<i32>) -> Object { ... }
fn set_item(self, index: impl Into<i32>, value: impl Into<Object>) { ... }
fn add(self, value: impl Into<Object>) -> i32 { ... }
fn contains(self, value: impl Into<Object>) -> bool { ... }
fn clear(self) { ... }
fn get_is_read_only(self) -> bool { ... }
fn index_of(self, value: impl Into<Object>) -> i32 { ... }
fn insert(self, index: impl Into<i32>, value: impl Into<Object>) { ... }
fn remove(self, value: impl Into<Object>) { ... }
fn remove_at(self, index: impl Into<i32>) { ... }
}Provided Methods§
Sourcefn set_item(self, index: impl Into<i32>, value: impl Into<Object>)
fn set_item(self, index: impl Into<i32>, value: impl Into<Object>)
set_Item(i32, crate::system::object::Object) overload
Sourcefn contains(self, value: impl Into<Object>) -> bool
fn contains(self, value: impl Into<Object>) -> bool
Contains(crate::system::object::Object) overload
Sourcefn get_is_read_only(self) -> bool
fn get_is_read_only(self) -> bool
get_IsReadOnly() overload
Sourcefn index_of(self, value: impl Into<Object>) -> i32
fn index_of(self, value: impl Into<Object>) -> i32
IndexOf(crate::system::object::Object) overload
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§
impl<__T: IIList> IIListMethods for __T
Available on crate feature
system-collections-ilist only.