pub struct Border {
pub enabled: bool,
pub width: f64,
pub color: [u8; 3],
}Expand description
The border effect (フチ).
Fields§
§enabled: boolThe border is on.
width: f64Width in canvas pixels.
color: [u8; 3]Colour as 8-bit RGB.
Trait Implementations§
impl Copy for Border
impl StructuralPartialEq for Border
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin for Border
impl UnwindSafe for Border
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