pub struct LayoutBorder {
pub width: Animated<LayoutSize>,
pub paint: Animated<Paint>,
}Expand description
A border inside the border box, as wide on every side.
Fields§
§width: Animated<LayoutSize>Width. At least 0.
paint: Animated<Paint>What covers the border. Positions are normalized to the border box.
Trait Implementations§
Source§impl Clone for LayoutBorder
impl Clone for LayoutBorder
Source§impl Debug for LayoutBorder
impl Debug for LayoutBorder
Source§impl<'de> Deserialize<'de> for LayoutBorder
impl<'de> Deserialize<'de> for LayoutBorder
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 LayoutBorder
impl PartialEq for LayoutBorder
Source§impl Serialize for LayoutBorder
impl Serialize for LayoutBorder
impl StructuralPartialEq for LayoutBorder
Auto Trait Implementations§
impl Freeze for LayoutBorder
impl RefUnwindSafe for LayoutBorder
impl Send for LayoutBorder
impl Sync for LayoutBorder
impl Unpin for LayoutBorder
impl UnsafeUnpin for LayoutBorder
impl UnwindSafe for LayoutBorder
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