#[non_exhaustive]pub struct BorderFillLines {
pub left: BorderLine,
pub right: BorderLine,
pub top: BorderLine,
pub bottom: BorderLine,
}Expand description
The four rendered edges of a borderFill.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.left: BorderLineLeft edge.
right: BorderLineRight edge.
top: BorderLineTop edge.
bottom: BorderLineBottom edge.
Implementations§
Source§impl BorderFillLines
impl BorderFillLines
Sourcepub fn new(
left: BorderLine,
right: BorderLine,
top: BorderLine,
bottom: BorderLine,
) -> Self
pub fn new( left: BorderLine, right: BorderLine, top: BorderLine, bottom: BorderLine, ) -> Self
Creates the four edges.
Trait Implementations§
Source§impl Clone for BorderFillLines
impl Clone for BorderFillLines
Source§fn clone(&self) -> BorderFillLines
fn clone(&self) -> BorderFillLines
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 BorderFillLines
Source§impl Debug for BorderFillLines
impl Debug for BorderFillLines
Source§impl PartialEq for BorderFillLines
impl PartialEq for BorderFillLines
impl StructuralPartialEq for BorderFillLines
Auto Trait Implementations§
impl Freeze for BorderFillLines
impl RefUnwindSafe for BorderFillLines
impl Send for BorderFillLines
impl Sync for BorderFillLines
impl Unpin for BorderFillLines
impl UnsafeUnpin for BorderFillLines
impl UnwindSafe for BorderFillLines
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