[−][src]Struct azul_css::RectStyle
Stylistic options of the rectangle that don't influence the layout
Fields
background: Option<CssPropertyValue<StyleBackgroundContent>>
background_position: Option<CssPropertyValue<StyleBackgroundPosition>>
background_size: Option<CssPropertyValue<StyleBackgroundSize>>
background_repeat: Option<CssPropertyValue<StyleBackgroundRepeat>>
font_size: Option<CssPropertyValue<StyleFontSize>>
font_family: Option<CssPropertyValue<StyleFontFamily>>
text_color: Option<CssPropertyValue<StyleTextColor>>
text_align: Option<CssPropertyValue<StyleTextAlignmentHorz>>
line_height: Option<CssPropertyValue<StyleLineHeight>>
letter_spacing: Option<CssPropertyValue<StyleLetterSpacing>>
word_spacing: Option<CssPropertyValue<StyleWordSpacing>>
tab_width: Option<CssPropertyValue<StyleTabWidth>>
cursor: Option<CssPropertyValue<StyleCursor>>
box_shadow_left: Option<CssPropertyValue<BoxShadowPreDisplayItem>>
box_shadow_right: Option<CssPropertyValue<BoxShadowPreDisplayItem>>
box_shadow_top: Option<CssPropertyValue<BoxShadowPreDisplayItem>>
box_shadow_bottom: Option<CssPropertyValue<BoxShadowPreDisplayItem>>
border_top_color: Option<CssPropertyValue<StyleBorderTopColor>>
border_left_color: Option<CssPropertyValue<StyleBorderLeftColor>>
border_right_color: Option<CssPropertyValue<StyleBorderRightColor>>
border_bottom_color: Option<CssPropertyValue<StyleBorderBottomColor>>
border_top_style: Option<CssPropertyValue<StyleBorderTopStyle>>
border_left_style: Option<CssPropertyValue<StyleBorderLeftStyle>>
border_right_style: Option<CssPropertyValue<StyleBorderRightStyle>>
border_bottom_style: Option<CssPropertyValue<StyleBorderBottomStyle>>
border_top_left_radius: Option<CssPropertyValue<StyleBorderTopLeftRadius>>
border_top_right_radius: Option<CssPropertyValue<StyleBorderTopRightRadius>>
border_bottom_left_radius: Option<CssPropertyValue<StyleBorderBottomLeftRadius>>
border_bottom_right_radius: Option<CssPropertyValue<StyleBorderBottomRightRadius>>
Implementations
impl RectStyle
[src]
pub fn get_horizontal_scrollbar_style(&self) -> ScrollbarInfo
[src]
pub fn get_vertical_scrollbar_style(&self) -> ScrollbarInfo
[src]
pub fn has_box_shadow(&self) -> bool
[src]
pub fn has_border(&self) -> bool
[src]
Trait Implementations
impl Clone for RectStyle
[src]
impl Debug for RectStyle
[src]
impl Default for RectStyle
[src]
impl Eq for RectStyle
[src]
impl Hash for RectStyle
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for RectStyle
[src]
fn cmp(&self, other: &RectStyle) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<RectStyle> for RectStyle
[src]
impl PartialOrd<RectStyle> for RectStyle
[src]
fn partial_cmp(&self, other: &RectStyle) -> Option<Ordering>
[src]
fn lt(&self, other: &RectStyle) -> bool
[src]
fn le(&self, other: &RectStyle) -> bool
[src]
fn gt(&self, other: &RectStyle) -> bool
[src]
fn ge(&self, other: &RectStyle) -> bool
[src]
impl StructuralEq for RectStyle
[src]
impl StructuralPartialEq for RectStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for RectStyle
impl Send for RectStyle
impl Sync for RectStyle
impl Unpin for RectStyle
impl UnwindSafe for RectStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,