pub enum EdgeDisplayFormat {
    Full {
        vertex_format: VertexDisplayFormat,
    },
    VerticesTupleAndID {
        vertex_format: VertexDisplayFormat,
    },
    VerticesTupleAndCurve {
        vertex_format: VertexDisplayFormat,
    },
    VerticesTupleStruct {
        vertex_format: VertexDisplayFormat,
    },
    VerticesTuple {
        vertex_format: VertexDisplayFormat,
    },
    AsCurve,
}
Expand description

Configuration for edge display format.

Variants§

§

Full

Fields

§vertex_format: VertexDisplayFormat

vertex display format

Display all data like Edge { id: 0x123456789ab, vertices: (0, 1), entity: BSplineCurve {..} }.

§

VerticesTupleAndID

Fields

§vertex_format: VertexDisplayFormat

vertex display format

Display vertices tuple and id like Edge { id: 0x123456789ab, vertices: (0, 1) }.

§

VerticesTupleAndCurve

Fields

§vertex_format: VertexDisplayFormat

vertex display format

Display end vertices tuple and entity curve like Edge { vertices: (1, 0), entity: BSplineCurve {..} }.

§

VerticesTupleStruct

Fields

§vertex_format: VertexDisplayFormat

vertex display format

Display only end vertices like Edge(0, 1).

§

VerticesTuple

Fields

§vertex_format: VertexDisplayFormat

vertex display format

Display only end vertices like (0, 1).

§

AsCurve

Display only entity curve like BSplineCurve {..}.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.