pub struct AtomicProperty { /* private fields */ }
Expand description
An atomic property of Computation Tree Logic.
In our case, this is usually a field compared to a number.
Implementations§
Source§impl AtomicProperty
impl AtomicProperty
pub fn new( left: ValueExpression, comparison_type: ComparisonType, right_number: i64, ) -> AtomicProperty
pub fn left(&self) -> &ValueExpression
pub fn comparison_type(&self) -> &ComparisonType
pub fn right_number_unsigned(&self) -> u64
pub fn right_number_signed(&self) -> i64
Trait Implementations§
Source§impl Clone for AtomicProperty
impl Clone for AtomicProperty
Source§fn clone(&self) -> AtomicProperty
fn clone(&self) -> AtomicProperty
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 AtomicProperty
impl Debug for AtomicProperty
Source§impl<'de> Deserialize<'de> for AtomicProperty
impl<'de> Deserialize<'de> for AtomicProperty
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AtomicProperty
impl Display for AtomicProperty
Source§impl Hash for AtomicProperty
impl Hash for AtomicProperty
Source§impl PartialEq for AtomicProperty
impl PartialEq for AtomicProperty
Source§impl Serialize for AtomicProperty
impl Serialize for AtomicProperty
impl Eq for AtomicProperty
impl StructuralPartialEq for AtomicProperty
Auto Trait Implementations§
impl Freeze for AtomicProperty
impl RefUnwindSafe for AtomicProperty
impl Send for AtomicProperty
impl Sync for AtomicProperty
impl Unpin for AtomicProperty
impl UnwindSafe for AtomicProperty
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