pub struct TextBoxBorder {
pub width: f32,
pub color: [u8; 4],
pub dash: Option<TextBoxDash>,
}Expand description
A text box’s border.
Fields§
§width: f32Width in pixels, positive.
color: [u8; 4]Straight sRGB RGBA.
dash: Option<TextBoxDash>Dashes along the border’s centre line; None draws it solid.
Trait Implementations§
Source§impl Clone for TextBoxBorder
impl Clone for TextBoxBorder
Source§impl Debug for TextBoxBorder
impl Debug for TextBoxBorder
Source§impl PartialEq for TextBoxBorder
impl PartialEq for TextBoxBorder
impl StructuralPartialEq for TextBoxBorder
Auto Trait Implementations§
impl Forget for TextBoxBorder
impl Freeze for TextBoxBorder
impl Move for TextBoxBorder
impl RefUnwindSafe for TextBoxBorder
impl Send for TextBoxBorderwhere
RawVecInner: Send,
impl Sync for TextBoxBorderwhere
RawVecInner: Sync,
impl Unpin for TextBoxBorder
impl UnsafeUnpin for TextBoxBorder
impl UnwindSafe for TextBoxBorderwhere
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