Skip to main content

IStackMethods

Trait IStackMethods 

Source
pub trait IStackMethods: IStack {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(self, initial_capacity: impl Into<i32>) { ... }
    fn get_count(self) -> i32 { ... }
    fn get_is_synchronized(self) -> bool { ... }
    fn get_sync_root(self) -> Object { ... }
    fn clear(self) { ... }
    fn clone(self) -> Object { ... }
    fn copy_to(self, array: impl Into<IlInstance>, index: impl Into<i32>) { ... }
    fn get_enumerator(self) -> IEnumerator { ... }
    fn peek(self) -> Object { ... }
    fn pop(self) -> Object { ... }
    fn push(self, obj: impl Into<Object>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

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

.ctor(i32) overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn get_is_synchronized(self) -> bool

get_IsSynchronized() overload

Source

fn get_sync_root(self) -> Object

get_SyncRoot() overload

Source

fn clear(self)

Clear() overload

Source

fn clone(self) -> Object

Clone() overload

Source

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

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

Source

fn get_enumerator(self) -> IEnumerator

GetEnumerator() overload

Source

fn peek(self) -> Object

Peek() overload

Source

fn pop(self) -> Object

Pop() overload

Source

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

Push(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§

Source§

impl<__T: IStack> IStackMethods for __T

Available on crate feature system-collections-stack only.