Struct biodivine_lib_bdd::BddVariable
source · [−]pub struct BddVariable(pub(crate) u16);
Expand description
Identifies one of the variables that can appear as a decision condition in the Bdd
.
Tuple Fields
0: u16
Implementations
sourceimpl BddVariable
impl BddVariable
sourcepub(crate) fn to_le_bytes(self) -> [u8; 2]
pub(crate) fn to_le_bytes(self) -> [u8; 2]
Convert to little endian bytes
sourcepub(crate) fn from_le_bytes(bytes: [u8; 2]) -> BddVariable
pub(crate) fn from_le_bytes(bytes: [u8; 2]) -> BddVariable
Read from little endian byte representation
Trait Implementations
sourceimpl Clone for BddVariable
impl Clone for BddVariable
sourcefn clone(&self) -> BddVariable
fn clone(&self) -> BddVariable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BddVariable
impl Debug for BddVariable
sourceimpl Display for BddVariable
impl Display for BddVariable
sourceimpl Hash for BddVariable
impl Hash for BddVariable
sourceimpl Index<BddVariable> for BddValuation
impl Index<BddVariable> for BddValuation
Allow indexing of BddValuation
using BddVariables
.
sourceimpl IntoBdd for BddVariable
impl IntoBdd for BddVariable
fn into_bdd(self, variables: &BddVariableSet) -> Bdd
sourceimpl Ord for BddVariable
impl Ord for BddVariable
sourceimpl PartialEq<BddVariable> for BddVariable
impl PartialEq<BddVariable> for BddVariable
sourcefn eq(&self, other: &BddVariable) -> bool
fn eq(&self, other: &BddVariable) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BddVariable) -> bool
fn ne(&self, other: &BddVariable) -> bool
This method tests for !=
.
sourceimpl PartialOrd<BddVariable> for BddVariable
impl PartialOrd<BddVariable> for BddVariable
sourcefn partial_cmp(&self, other: &BddVariable) -> Option<Ordering>
fn partial_cmp(&self, other: &BddVariable) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for BddVariable
impl Eq for BddVariable
impl StructuralEq for BddVariable
impl StructuralPartialEq for BddVariable
Auto Trait Implementations
impl RefUnwindSafe for BddVariable
impl Send for BddVariable
impl Sync for BddVariable
impl Unpin for BddVariable
impl UnwindSafe for BddVariable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more