BidirectedData

Trait BidirectedData 

Source
pub trait BidirectedData {
    // Required method
    fn mirror(&self) -> Self;
}
Expand description

A type of data that can be mirrored. This is used to map nodes or edges to their mirrors.

Required Methods§

Source

fn mirror(&self) -> Self

Compute the mirror of this data.

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 BidirectedData for ()

Source§

fn mirror(&self) -> Self

Implementors§