Skip to main content

IQueueMethods

Trait IQueueMethods 

Source
pub trait IQueueMethods: IQueue {
Show 15 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, capacity: impl Into<i32>) { ... } fn ctor_3(self, capacity: impl Into<i32>, grow_factor: impl Into<f32>) { ... } fn ctor_4(self, col: impl Into<ICollection>) { ... } fn get_count(self) -> i32 { ... } fn clone(self) -> Object { ... } fn get_is_synchronized(self) -> bool { ... } fn get_sync_root(self) -> Object { ... } fn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>) { ... } fn enqueue(self, obj: impl Into<Object>) { ... } fn get_enumerator(self) -> IEnumerator { ... } fn dequeue(self) -> Object { ... } fn peek(self) -> Object { ... } fn get_element(self, i: impl Into<i32>) -> Object { ... } fn set_capacity(self, capacity: impl Into<i32>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, capacity: impl Into<i32>)

.ctor(i32) overload

Source

fn ctor_3(self, capacity: impl Into<i32>, grow_factor: impl Into<f32>)

.ctor(i32, f32) overload

Source

fn ctor_4(self, col: impl Into<ICollection>)

.ctor(crate::system::collections::icollection::ICollection) overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn clone(self) -> Object

Clone() overload

Source

fn get_is_synchronized(self) -> bool

get_IsSynchronized() overload

Source

fn get_sync_root(self) -> Object

get_SyncRoot() overload

Source

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

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

Source

fn enqueue(self, obj: impl Into<Object>)

Enqueue(crate::system::object::Object) overload

Source

fn get_enumerator(self) -> IEnumerator

GetEnumerator() overload

Source

fn dequeue(self) -> Object

Dequeue() overload

Source

fn peek(self) -> Object

Peek() overload

Source

fn get_element(self, i: impl Into<i32>) -> Object

GetElement(i32) overload

Source

fn set_capacity(self, capacity: impl Into<i32>)

SetCapacity(i32) 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: IQueue> IQueueMethods for __T

Available on crate feature system-collections-queue only.