pub struct NodePaint {
pub background: Option<Paint>,
pub border: Option<(f32, Paint)>,
pub border_radius: f32,
}Expand description
What a box draws under its content.
Fields§
§background: Option<Paint>What covers the border box.
border: Option<(f32, Paint)>The border’s width and paint.
border_radius: f32The border box’s corner radius.
Trait Implementations§
impl StructuralPartialEq for NodePaint
Auto Trait Implementations§
impl Freeze for NodePaint
impl RefUnwindSafe for NodePaint
impl Send for NodePaint
impl Sync for NodePaint
impl Unpin for NodePaint
impl UnsafeUnpin for NodePaint
impl UnwindSafe for NodePaint
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