Skip to main content

IPriorityHeap_1Methods

Trait IPriorityHeap_1Methods 

Source
pub trait IPriorityHeap_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn get_empty(self) -> bool
       where Self: Sized { ... }
    fn ctor(self, initial_size: i32, leq: PriorityHeap_1_LessOrEqual<T0>)
       where Self: Sized { ... }
    fn float_down(self, curr: i32)
       where Self: Sized { ... }
    fn float_up(self, curr: i32)
       where Self: Sized { ... }
    fn init(self)
       where Self: Sized { ... }
    fn insert(self, value: T0) -> PQHandle
       where Self: Sized { ... }
    fn extract_min(self) -> T0
       where Self: Sized { ... }
    fn minimum(self) -> T0
       where Self: Sized { ... }
    fn remove(self, handle: PQHandle)
       where Self: Sized { ... }
}

Provided Methods§

Source

fn get_empty(self) -> bool
where Self: Sized,

Source

fn ctor(self, initial_size: i32, leq: PriorityHeap_1_LessOrEqual<T0>)
where Self: Sized,

Source

fn float_down(self, curr: i32)
where Self: Sized,

Source

fn float_up(self, curr: i32)
where Self: Sized,

Source

fn init(self)
where Self: Sized,

Source

fn insert(self, value: T0) -> PQHandle
where Self: Sized,

Source

fn extract_min(self) -> T0
where Self: Sized,

Source

fn minimum(self) -> T0
where Self: Sized,

Source

fn remove(self, handle: PQHandle)
where Self: Sized,

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§