Trait discrete::Construct

source ·
pub trait Construct {
    // Required method
    fn new() -> Self;
}
Expand description

Constructs a new space.

Since spaces are combined using phantom types, an instance must be constructed to call methods on it.

Required Methods§

source

fn new() -> Self

Constructs a new Self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T, U> Construct for (T, U)
where T: Construct, U: Construct,

source§

fn new() -> Self

Implementors§