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§
Auto Trait Implementations§
impl Freeze for NodeArgs
impl RefUnwindSafe for NodeArgs
impl Send for NodeArgs
impl Sync for NodeArgs
impl Unpin for NodeArgs
impl UnwindSafe for NodeArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more