pub struct BorderWidthStyle {
pub left: f32,
pub right: f32,
pub top: f32,
pub bottom: f32,
pub between_children: f32,
}Expand description
Border width values for each side.
Fields§
§left: f32Left border width.
right: f32Right border width.
top: f32Top border width.
bottom: f32Bottom border width.
between_children: f32Width used between sibling children.
Trait Implementations§
Source§impl Clone for BorderWidthStyle
impl Clone for BorderWidthStyle
Source§fn clone(&self) -> BorderWidthStyle
fn clone(&self) -> BorderWidthStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BorderWidthStyle
Source§impl Debug for BorderWidthStyle
impl Debug for BorderWidthStyle
Source§impl PartialEq for BorderWidthStyle
impl PartialEq for BorderWidthStyle
impl StructuralPartialEq for BorderWidthStyle
Auto Trait Implementations§
impl Freeze for BorderWidthStyle
impl RefUnwindSafe for BorderWidthStyle
impl Send for BorderWidthStyle
impl Sync for BorderWidthStyle
impl Unpin for BorderWidthStyle
impl UnsafeUnpin for BorderWidthStyle
impl UnwindSafe for BorderWidthStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.