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§
Sourcefn ctor_3(self, capacity: impl Into<i32>, grow_factor: impl Into<f32>)
fn ctor_3(self, capacity: impl Into<i32>, grow_factor: impl Into<f32>)
.ctor(i32, f32) overload
Sourcefn ctor_4(self, col: impl Into<ICollection>)
fn ctor_4(self, col: impl Into<ICollection>)
.ctor(crate::system::collections::icollection::ICollection) overload
Sourcefn get_is_synchronized(self) -> bool
fn get_is_synchronized(self) -> bool
get_IsSynchronized() overload
Sourcefn get_sync_root(self) -> Object
fn get_sync_root(self) -> Object
get_SyncRoot() overload
Sourcefn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>)
fn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>)
CopyTo(::unity::IlInstance, i32) overload
Sourcefn get_enumerator(self) -> IEnumerator
fn get_enumerator(self) -> IEnumerator
GetEnumerator() overload
Sourcefn get_element(self, i: impl Into<i32>) -> Object
fn get_element(self, i: impl Into<i32>) -> Object
GetElement(i32) overload
Sourcefn set_capacity(self, capacity: impl Into<i32>)
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§
impl<__T: IQueue> IQueueMethods for __T
Available on crate feature
system-collections-queue only.