NewEmpty

Trait NewEmpty 

Source
pub trait NewEmpty: OwnedMatlabClass {
    // Required method
    fn new_empty() -> Self;
}
Expand description

Some, but not all types, can be created in an empty state; whether they can is denoted by this trait.

Required Methods§

Source

fn new_empty() -> Self

Construct the empty type

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§