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 Forget for NodePaint
impl Freeze for NodePaint
impl Move for NodePaint
impl RefUnwindSafe for NodePaint
impl Send for NodePaintwhere
RawVecInner: Send,
impl Sync for NodePaintwhere
RawVecInner: Sync,
impl Unpin for NodePaint
impl UnsafeUnpin for NodePaint
impl UnwindSafe for NodePaintwhere
RawVecInner: UnwindSafe,
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