Struct bytecode::dataflow_analysis::BlockState
source · pub struct BlockState<State: Clone> {
pub pre: State,
pub post: State,
}
Fields§
§pre: State
§post: State
Trait Implementations§
source§impl<State: Clone + Clone> Clone for BlockState<State>
impl<State: Clone + Clone> Clone for BlockState<State>
source§fn clone(&self) -> BlockState<State>
fn clone(&self) -> BlockState<State>
Returns a copy 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<State: Ord + Clone> Ord for BlockState<State>
impl<State: Ord + Clone> Ord for BlockState<State>
source§fn cmp(&self, other: &BlockState<State>) -> Ordering
fn cmp(&self, other: &BlockState<State>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<State: PartialEq + Clone> PartialEq<BlockState<State>> for BlockState<State>
impl<State: PartialEq + Clone> PartialEq<BlockState<State>> for BlockState<State>
source§fn eq(&self, other: &BlockState<State>) -> bool
fn eq(&self, other: &BlockState<State>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<State: PartialOrd + Clone> PartialOrd<BlockState<State>> for BlockState<State>
impl<State: PartialOrd + Clone> PartialOrd<BlockState<State>> for BlockState<State>
source§fn partial_cmp(&self, other: &BlockState<State>) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockState<State>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<State: Eq + Clone> Eq for BlockState<State>
impl<State: Clone> StructuralEq for BlockState<State>
impl<State: Clone> StructuralPartialEq for BlockState<State>
Auto Trait Implementations§
impl<State> RefUnwindSafe for BlockState<State>where State: RefUnwindSafe,
impl<State> Send for BlockState<State>where State: Send,
impl<State> Sync for BlockState<State>where State: Sync,
impl<State> Unpin for BlockState<State>where State: Unpin,
impl<State> UnwindSafe for BlockState<State>where State: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.