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 BoxBorderwhere
RawVecInner: Send,
impl Sync for BoxBorderwhere
RawVecInner: Sync,
impl Unpin for BoxBorder
impl UnsafeUnpin for BoxBorderwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Stop>: UnsafeUnpin,
impl UnwindSafe for BoxBorderwhere
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