Trait swipl::blob::ArcBlobImpl
source · pub trait ArcBlobImpl: ArcBlobBase + Send + Sync + Unpin {
// Provided methods
fn compare(&self, _other: &Self) -> Ordering { ... }
fn write(&self, stream: &mut PrologStream) -> Result<()> { ... }
}
Expand description
Provided Methods§
sourcefn compare(&self, _other: &Self) -> Ordering
fn compare(&self, _other: &Self) -> Ordering
Compare two values, returning an Ordering.
This is used from SWI-Prolog when sorting lists. The default
implementation returns Ordering::Equal
, effectively
providing no sorting information.
sourcefn write(&self, stream: &mut PrologStream) -> Result<()>
fn write(&self, stream: &mut PrologStream) -> Result<()>
Object Safety§
This trait is not object safe.