pub struct BoxBorder {
pub width: LayoutSize,
pub paint: PaintChoice,
}Expand description
A box border.
Fields§
§width: LayoutSizeWidth, as a layout size: a fraction of the picture’s shorter side or "<n>px".
paint: PaintChoiceWhat covers it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BoxBorder
impl<'de> Deserialize<'de> for BoxBorder
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
impl StructuralPartialEq for BoxBorder
Auto Trait Implementations§
impl Forget for BoxBorder
impl Freeze for BoxBorder
impl Move for BoxBorder
impl RefUnwindSafe for BoxBorder
impl Send for BoxBorder
impl Sync for BoxBorder
impl Unpin for BoxBorder
impl UnsafeUnpin for BoxBorder
impl UnwindSafe for BoxBorder
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