Trait LayoutEditUtil

Source
pub trait LayoutEditUtil: LayoutEdit {
    // Provided method
    fn find_or_create_layer(
        &mut self,
        index: u32,
        datatype: u32,
    ) -> Self::LayerId { ... }
}
Expand description

Helper functions for layouts.

This trait is automatically implemented for all types which implement LayoutEdit.

Provided Methods§

Source

fn find_or_create_layer(&mut self, index: u32, datatype: u32) -> Self::LayerId

Create a layer or return an existing one.

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§