Skip to main content

IIBitArrayMethods

Trait IIBitArrayMethods 

Source
pub trait IIBitArrayMethods: IIBitArray {
    // Provided methods
    fn get_capacity(self) -> u32 { ... }
    fn get_all_false(self) -> bool { ... }
    fn get_all_true(self) -> bool { ... }
    fn get_item(self, index: impl Into<u32>) -> bool { ... }
    fn set_item(self, index: impl Into<u32>, value: impl Into<bool>) { ... }
    fn get_humanized_data(self) -> Il2CppString { ... }
    fn bit_and(self, other: impl Into<IBitArray>) -> IBitArray { ... }
    fn bit_or(self, other: impl Into<IBitArray>) -> IBitArray { ... }
    fn bit_not(self) -> IBitArray { ... }
}

Provided Methods§

Source

fn get_capacity(self) -> u32

get_capacity() overload

Source

fn get_all_false(self) -> bool

get_allFalse() overload

Source

fn get_all_true(self) -> bool

get_allTrue() overload

Source

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

get_Item(u32) overload

Source

fn set_item(self, index: impl Into<u32>, value: impl Into<bool>)

set_Item(u32, bool) overload

Source

fn get_humanized_data(self) -> Il2CppString

get_humanizedData() overload

Source

fn bit_and(self, other: impl Into<IBitArray>) -> IBitArray

BitAnd(crate::unity_engine::rendering::ibitarray::IBitArray) overload

Source

fn bit_or(self, other: impl Into<IBitArray>) -> IBitArray

BitOr(crate::unity_engine::rendering::ibitarray::IBitArray) overload

Source

fn bit_not(self) -> IBitArray

BitNot() 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: IIBitArray> IIBitArrayMethods for __T

Available on crate feature unity_engine-rendering-ibitarray only.