Detail_GraphEdgeTraitConst

Trait Detail_GraphEdgeTraitConst 

Source
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

Required Methods§

Provided Methods§

Source

fn from(&self) -> i32

Source

fn to(&self) -> i32

Source

fn weight(&self) -> f32

Source

fn less_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool>

Source

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.

Implementors§