pub struct BorderOptions {
pub thickness: f64,
pub color: String,
pub dasharray: Option<String>,
}Expand description
Style options for border elements.
Fields§
§thickness: f64Border thickness in pixels
color: StringBorder color (hex string like “#000000”)
dasharray: Option<String>Optional dash array for dashed borders (e.g., “5,5”)
Implementations§
Trait Implementations§
Source§impl Clone for BorderOptions
impl Clone for BorderOptions
Source§fn clone(&self) -> BorderOptions
fn clone(&self) -> BorderOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BorderOptions
impl Debug for BorderOptions
Source§impl Default for BorderOptions
impl Default for BorderOptions
Source§impl PartialEq for BorderOptions
impl PartialEq for BorderOptions
impl StructuralPartialEq for BorderOptions
Auto Trait Implementations§
impl Freeze for BorderOptions
impl RefUnwindSafe for BorderOptions
impl Send for BorderOptions
impl Sync for BorderOptions
impl Unpin for BorderOptions
impl UnwindSafe for BorderOptions
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<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.