Skip to main content

IBitArrayMethods

Trait IBitArrayMethods 

Source
pub trait IBitArrayMethods: IBitArray {
Show 14 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, length: impl Into<i32>, default_value: impl Into<bool>) { ... } fn ctor_3(self, values: impl Into<Array<i32>>) { ... } fn get_item(self, index: impl Into<i32>) -> bool { ... } fn get(self, index: impl Into<i32>) -> bool { ... } fn set(self, index: impl Into<i32>, value: impl Into<bool>) { ... } fn set_all(self, value: impl Into<bool>) { ... } fn get_length(self) -> i32 { ... } fn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>) { ... } fn get_count(self) -> i32 { ... } fn clone(self) -> Object { ... } fn get_sync_root(self) -> Object { ... } fn get_is_synchronized(self) -> bool { ... } fn get_enumerator(self) -> IEnumerator { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, length: impl Into<i32>, default_value: impl Into<bool>)

.ctor(i32, bool) overload

Source

fn ctor_3(self, values: impl Into<Array<i32>>)

.ctor(::unity::Array<i32>) overload

Source

fn get_item(self, index: impl Into<i32>) -> bool

get_Item(i32) overload

Source

fn get(self, index: impl Into<i32>) -> bool

Get(i32) overload

Source

fn set(self, index: impl Into<i32>, value: impl Into<bool>)

Set(i32, bool) overload

Source

fn set_all(self, value: impl Into<bool>)

SetAll(bool) overload

Source

fn get_length(self) -> i32

get_Length() overload

Source

fn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>)

CopyTo(::unity::IlInstance, i32) overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn clone(self) -> Object

Clone() overload

Source

fn get_sync_root(self) -> Object

get_SyncRoot() overload

Source

fn get_is_synchronized(self) -> bool

get_IsSynchronized() overload

Source

fn get_enumerator(self) -> IEnumerator

GetEnumerator() 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§

Source§

impl<__T: IBitArray> IBitArrayMethods for __T

Available on crate feature system-collections-bitarray only.