#[repr(C)]pub struct aws_priority_queue {
pub pred: aws_priority_queue_compare_fn,
pub container: aws_array_list,
pub backpointers: aws_array_list,
}
Fields
pred: aws_priority_queue_compare_fn
predicate that determines the priority of the elements in the queue.
container: aws_array_list
The underlying container storing the queue elements.
backpointers: aws_array_list
An array of pointers to backpointer elements. This array is initialized when the first call to aws_priority_queue_push_bp is made, and is subsequently maintained through any heap node manipulations.
Each element is a struct aws_priority_queue_node *, pointing to a backpointer field owned by the calling code, or a NULL. The backpointer field is continually updated with information needed to locate and remove a specific node later on.
Trait Implementations
sourceimpl Clone for aws_priority_queue
impl Clone for aws_priority_queue
sourcefn clone(&self) -> aws_priority_queue
fn clone(&self) -> aws_priority_queue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_priority_queue
impl Debug for aws_priority_queue
sourceimpl Default for aws_priority_queue
impl Default for aws_priority_queue
sourceimpl PartialEq<aws_priority_queue> for aws_priority_queue
impl PartialEq<aws_priority_queue> for aws_priority_queue
sourcefn eq(&self, other: &aws_priority_queue) -> bool
fn eq(&self, other: &aws_priority_queue) -> bool
impl Copy for aws_priority_queue
impl Eq for aws_priority_queue
impl StructuralEq for aws_priority_queue
impl StructuralPartialEq for aws_priority_queue
Auto Trait Implementations
impl RefUnwindSafe for aws_priority_queue
impl !Send for aws_priority_queue
impl !Sync for aws_priority_queue
impl Unpin for aws_priority_queue
impl UnwindSafe for aws_priority_queue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more