Struct egui_nodes::NodeArgs[][src]

pub struct NodeArgs {
    pub background: Option<Color32>,
    pub background_hovered: Option<Color32>,
    pub background_selected: Option<Color32>,
    pub outline: Option<Color32>,
    pub titlebar: Option<Color32>,
    pub titlebar_hovered: Option<Color32>,
    pub titlebar_selected: Option<Color32>,
    pub corner_rounding: Option<f32>,
    pub padding: Option<Vec2>,
    pub border_thickness: Option<f32>,
}
Expand description

The Style of a Node. If feilds are None then the Context style is used

Fields

background: Option<Color32>background_hovered: Option<Color32>background_selected: Option<Color32>outline: Option<Color32>titlebar: Option<Color32>titlebar_hovered: Option<Color32>titlebar_selected: Option<Color32>corner_rounding: Option<f32>padding: Option<Vec2>border_thickness: Option<f32>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.