Trait petgraph::matrix_graph::Nullable[][src]

pub trait Nullable: Default + Into<Option<Self::Wrapped>> + Sealed { }

Wrapper trait for an Option, allowing user-defined structs to be input as containers when defining a null element.

Note: this trait is currently sealed and cannot be implemented for types outside this crate.

Implementations on Foreign Types

impl<T> Nullable for Option<T>[src]

type Wrapped = T

Loading content...

Implementors

impl<T: Zero> Nullable for NotZero<T>[src]

type Wrapped = T

Loading content...