pub trait Detail_GraphEdgeTraitConst {
// Required method
fn as_raw_Detail_GraphEdge(&self) -> *const c_void;
// Provided methods
fn from(&self) -> i32 { ... }
fn to(&self) -> i32 { ... }
fn weight(&self) -> f32 { ... }
fn less_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool> { ... }
fn greater_than(
&self,
other: &impl Detail_GraphEdgeTraitConst,
) -> Result<bool> { ... }
}
Expand description
Constant methods for crate::stitching::Detail_GraphEdge
Required Methods§
fn as_raw_Detail_GraphEdge(&self) -> *const c_void
Provided Methods§
fn from(&self) -> i32
fn to(&self) -> i32
fn weight(&self) -> f32
fn less_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool>
fn greater_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.