pub struct InsideHorizonBorder<'a> {
pub style: BorderStyle,
pub color: Option<Cow<'a, str>>,
pub theme_color: Option<ThemeColor>,
pub theme_tint: Option<Cow<'a, str>>,
pub theme_shade: Option<Cow<'a, str>>,
pub size: Option<isize>,
pub space: Option<isize>,
pub shadow: Option<bool>,
pub frame: Option<bool>,
}
Fields§
§style: BorderStyle
§color: Option<Cow<'a, str>>
§theme_color: Option<ThemeColor>
§theme_tint: Option<Cow<'a, str>>
§theme_shade: Option<Cow<'a, str>>
§size: Option<isize>
§space: Option<isize>
§shadow: Option<bool>
§frame: Option<bool>
Implementations§
Source§impl<'a> InsideHorizonBorder<'a>
impl<'a> InsideHorizonBorder<'a>
pub fn color<T: Into<Cow<'a, str>>>(self, value: T) -> Self
pub fn shadow<T: Into<bool>>(self, value: T) -> Self
pub fn space<T: Into<isize>>(self, value: T) -> Self
pub fn size<T: Into<isize>>(self, value: T) -> Self
pub fn style<T: Into<BorderStyle>>(self, value: T) -> Self
Trait Implementations§
Source§impl<'a> Clone for InsideHorizonBorder<'a>
impl<'a> Clone for InsideHorizonBorder<'a>
Source§fn clone(&self) -> InsideHorizonBorder<'a>
fn clone(&self) -> InsideHorizonBorder<'a>
Returns a copy 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<'a> Debug for InsideHorizonBorder<'a>
impl<'a> Debug for InsideHorizonBorder<'a>
Source§impl<'a> Default for InsideHorizonBorder<'a>
impl<'a> Default for InsideHorizonBorder<'a>
Source§fn default() -> InsideHorizonBorder<'a>
fn default() -> InsideHorizonBorder<'a>
Returns the “default value” for a type. Read more
Source§impl<'__input: 'a, 'a> XmlRead<'__input> for InsideHorizonBorder<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for InsideHorizonBorder<'a>
Auto Trait Implementations§
impl<'a> Freeze for InsideHorizonBorder<'a>
impl<'a> RefUnwindSafe for InsideHorizonBorder<'a>
impl<'a> Send for InsideHorizonBorder<'a>
impl<'a> Sync for InsideHorizonBorder<'a>
impl<'a> Unpin for InsideHorizonBorder<'a>
impl<'a> UnwindSafe for InsideHorizonBorder<'a>
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