pub enum EqualsMode {
Identity,
Custom(FnId),
}Expand description
Equality mode for a node’s outgoing emissions.
Identity is the default: cache vs. new handle compare is a u64 equal —
zero FFI. Custom invokes BindingBoundary::custom_equals every check
(R1.3.2.b two-arg call when both sides are non-sentinel).
Variants§
Trait Implementations§
Source§impl Clone for EqualsMode
impl Clone for EqualsMode
Source§fn clone(&self) -> EqualsMode
fn clone(&self) -> EqualsMode
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 moreSource§impl Debug for EqualsMode
impl Debug for EqualsMode
impl Copy for EqualsMode
Auto Trait Implementations§
impl Freeze for EqualsMode
impl RefUnwindSafe for EqualsMode
impl Send for EqualsMode
impl Sync for EqualsMode
impl Unpin for EqualsMode
impl UnsafeUnpin for EqualsMode
impl UnwindSafe for EqualsMode
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