pub struct StateLabel {
pub state: usize,
pub propositions: HashSet<String>,
}Expand description
The label of a state: the set of atomic propositions holding in that state.
Fields§
§state: usizeState index.
propositions: HashSet<String>Set of propositions that hold in this state.
Implementations§
Trait Implementations§
Source§impl Clone for StateLabel
impl Clone for StateLabel
Source§fn clone(&self) -> StateLabel
fn clone(&self) -> StateLabel
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 moreAuto Trait Implementations§
impl Freeze for StateLabel
impl RefUnwindSafe for StateLabel
impl Send for StateLabel
impl Sync for StateLabel
impl Unpin for StateLabel
impl UnsafeUnpin for StateLabel
impl UnwindSafe for StateLabel
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