Skip to main content

NodeExt

Trait NodeExt 

Source
pub trait NodeExt {
    // Required methods
    fn get_len(&self) -> usize;
    fn eq(&self, other: &Self) -> bool;
    fn get_weight(&self) -> usize;
    fn get_cate(&self) -> usize;
}

Required Methods§

Source

fn get_len(&self) -> usize

Source

fn eq(&self, other: &Self) -> bool

Source

fn get_weight(&self) -> usize

Source

fn get_cate(&self) -> usize

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.

Implementations on Foreign Types§

Source§

impl NodeExt for usize

Source§

fn get_len(&self) -> usize

Source§

fn eq(&self, other: &usize) -> bool

Source§

fn get_weight(&self) -> usize

Source§

fn get_cate(&self) -> usize

Implementors§