pub struct AppearanceOrder;Expand description
Trivial variable order: variables in their first-appearance
order across the body. Already the construction order produced
by HypergraphRule::from_rule, so this is just an
IntoIterator over hg.vertex_ids().
Useful as the default order for tests, and as a baseline that future cost-aware implementations can be compared against.
Trait Implementations§
Source§impl Clone for AppearanceOrder
impl Clone for AppearanceOrder
Source§fn clone(&self) -> AppearanceOrder
fn clone(&self) -> AppearanceOrder
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 AppearanceOrder
impl Debug for AppearanceOrder
Source§impl Default for AppearanceOrder
impl Default for AppearanceOrder
Source§fn default() -> AppearanceOrder
fn default() -> AppearanceOrder
Returns the “default value” for a type. Read more
Source§impl VariableOrder for AppearanceOrder
impl VariableOrder for AppearanceOrder
impl Copy for AppearanceOrder
Auto Trait Implementations§
impl Freeze for AppearanceOrder
impl RefUnwindSafe for AppearanceOrder
impl Send for AppearanceOrder
impl Sync for AppearanceOrder
impl Unpin for AppearanceOrder
impl UnsafeUnpin for AppearanceOrder
impl UnwindSafe for AppearanceOrder
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