Struct egui::containers::Frame [−][src]
pub struct Frame { pub margin: Vec2, pub corner_radius: f32, pub shadow: Shadow, pub fill: Color32, pub stroke: Stroke, }
Expand description
Color and margin of a rectangular background of a Ui
.
Fields
margin: Vec2
On each side
corner_radius: f32
shadow: Shadow
fill: Color32
stroke: Stroke
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl UnwindSafe for Frame
Blanket Implementations
Mutably borrows from an owned value. Read more