Skip to main content

Kind

Trait Kind 

Source
pub trait Kind: 'static {
    const NAME: &'static str;
}
Expand description

A kind of element a target holds by stable name: an edge or a face of a topology, a line of a sketch. A unit struct, defined by the crate that defines the target.

Required Associated Constants§

Source

const NAME: &'static str

The kind’s name, as a pick says what it picked: "edge".

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Kind for ParameterValue

Read whole.

Source§

const NAME: &'static str = "parameter"

Source§

impl Kind for ParameterValues

Read whole.

Source§

const NAME: &'static str = "parameter_values"