pub enum PremiseObject {
Node(usize),
Link(usize),
Clock,
}Expand description
The object a rule premise refers to (§2.8.2).
Variants§
Node(usize)
Network node (1-based index).
Link(usize)
Network link (1-based index).
Clock
Simulation clock.
Trait Implementations§
Source§impl Clone for PremiseObject
impl Clone for PremiseObject
Source§fn clone(&self) -> PremiseObject
fn clone(&self) -> PremiseObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PremiseObject
Source§impl Debug for PremiseObject
impl Debug for PremiseObject
impl Eq for PremiseObject
Source§impl PartialEq for PremiseObject
impl PartialEq for PremiseObject
Source§fn eq(&self, other: &PremiseObject) -> bool
fn eq(&self, other: &PremiseObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PremiseObject
Auto Trait Implementations§
impl Freeze for PremiseObject
impl RefUnwindSafe for PremiseObject
impl Send for PremiseObject
impl Sync for PremiseObject
impl Unpin for PremiseObject
impl UnsafeUnpin for PremiseObject
impl UnwindSafe for PremiseObject
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