pub struct WeakPartialOrdering<NodeId: Copy + Hash + Ord> { /* private fields */ }Implementations§
Source§impl<NodeId> WeakPartialOrdering<NodeId>
impl<NodeId> WeakPartialOrdering<NodeId>
pub fn new<SN>(root: NodeId, size: usize, successors_nodes: &SN) -> Selfwhere
SN: SuccessorNodes<NodeId = NodeId>,
pub fn size(&self) -> usize
pub fn get_entry(&self) -> WpoIdx
pub fn get_successors(&self, idx: WpoIdx) -> &BTreeSet<WpoIdx>
pub fn get_predecessors(&self, idx: WpoIdx) -> &BTreeSet<WpoIdx>
pub fn get_num_preds(&self, idx: WpoIdx) -> u32
pub fn get_num_outer_preds(&self, exit: WpoIdx) -> &HashMap<WpoIdx, u32>
pub fn get_head_of_exit(&self, exit: WpoIdx) -> WpoIdx
pub fn get_exit_of_head(&self, head: WpoIdx) -> WpoIdx
pub fn get_node(&self, idx: WpoIdx) -> NodeId
pub fn is_plain(&self, idx: WpoIdx) -> bool
pub fn is_head(&self, idx: WpoIdx) -> bool
pub fn is_exit(&self, idx: WpoIdx) -> bool
pub fn is_from_outside(&self, head: NodeId, pred: NodeId) -> bool
Auto Trait Implementations§
impl<NodeId> Freeze for WeakPartialOrdering<NodeId>
impl<NodeId> RefUnwindSafe for WeakPartialOrdering<NodeId>where
NodeId: RefUnwindSafe,
impl<NodeId> Send for WeakPartialOrdering<NodeId>where
NodeId: Send,
impl<NodeId> Sync for WeakPartialOrdering<NodeId>where
NodeId: Sync,
impl<NodeId> Unpin for WeakPartialOrdering<NodeId>where
NodeId: Unpin,
impl<NodeId> UnsafeUnpin for WeakPartialOrdering<NodeId>
impl<NodeId> UnwindSafe for WeakPartialOrdering<NodeId>where
NodeId: UnwindSafe,
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