pub struct TextBoxBorder {
pub width: f32,
pub color: Rgba,
pub dash: Option<TextDash>,
}Expand description
The border of a text box, drawn inside the box’s edge.
Fields§
§width: f32Width as a fraction of the font size, in (0, 0.5].
color: RgbaLine color.
dash: Option<TextDash>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<'de> Deserialize<'de> for TextBoxBorder
impl<'de> Deserialize<'de> for TextBoxBorder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextBoxBorder
impl PartialEq for TextBoxBorder
Source§impl Serialize for TextBoxBorder
impl Serialize 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