pub struct Atom { /* private fields */ }Implementations§
Source§impl Atom
impl Atom
pub fn new(r: Reducability) -> Self
pub fn strict() -> Self
pub fn reducible() -> Self
pub fn value(self, v: i64) -> Self
pub fn reducability(self, r: Reducability) -> Self
pub fn add_stat(&mut self, stat: Stat)
pub fn satisfied_by(&self, stats: &StatMap) -> bool
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Ord for Atom
impl Ord for Atom
Source§impl PartialOrd for Atom
impl PartialOrd for Atom
impl Eq for Atom
impl StructuralPartialEq for Atom
Auto Trait Implementations§
impl Freeze for Atom
impl RefUnwindSafe for Atom
impl Send for Atom
impl Sync for Atom
impl Unpin for Atom
impl UnwindSafe for Atom
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