#[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_fnpredicate that determines the priority of the elements in the queue.
container: aws_array_listThe underlying container storing the queue elements.
backpointers: aws_array_listAn 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§
Source§impl Clone for aws_priority_queue
impl Clone for aws_priority_queue
Source§fn clone(&self) -> aws_priority_queue
fn clone(&self) -> aws_priority_queue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for aws_priority_queue
impl Debug for aws_priority_queue
Source§impl Default for aws_priority_queue
impl Default for aws_priority_queue
impl Copy for aws_priority_queue
Auto Trait Implementations§
impl Freeze for aws_priority_queue
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more