Enum egui_nodes::AttributeFlags[][src]

pub enum AttributeFlags {
    None,
    EnableLinkDetachWithDragClick,
    EnableLinkCreationOnSnap,
}
Expand description

Controls the way that attribute pins behave

Variants

None
EnableLinkDetachWithDragClick

If there is a link on the node then it will detatch instead of creating a new one. Requires handling of deleted links via Context::link_destroyed

EnableLinkCreationOnSnap

Visual snapping will trigger link creation / destruction

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.