pub struct Border {Show 26 fields
pub border_image_outset: T,
pub border_image_repeat: T,
pub border_image_slice: T,
pub border_image_source: T,
pub border_image_width: T,
pub border_top_color: T,
pub border_right_color: T,
pub border_bottom_color: T,
pub border_left_color: T,
pub border_top_style: T,
pub border_right_style: T,
pub border_bottom_style: T,
pub border_left_style: T,
pub border_top_width: T,
pub border_right_width: T,
pub border_bottom_width: T,
pub border_left_width: T,
pub border_top_left_radius: T,
pub border_top_right_radius: T,
pub border_bottom_right_radius: T,
pub border_bottom_left_radius: T,
pub corner_top_left_shape: T,
pub corner_top_right_shape: T,
pub corner_bottom_right_shape: T,
pub corner_bottom_left_shape: T,
pub box_decoration_break: T,
}Expand description
The Border style struct.
Fields§
§border_image_outset: TThe border-image-outset computed value.
border_image_repeat: TThe border-image-repeat computed value.
border_image_slice: TThe border-image-slice computed value.
border_image_source: TThe border-image-source computed value.
border_image_width: TThe border-image-width computed value.
border_top_color: TThe border-top-color computed value.
border_right_color: TThe border-right-color computed value.
border_bottom_color: TThe border-bottom-color computed value.
border_left_color: TThe border-left-color computed value.
border_top_style: TThe border-top-style computed value.
border_right_style: TThe border-right-style computed value.
border_bottom_style: TThe border-bottom-style computed value.
border_left_style: TThe border-left-style computed value.
border_top_width: TThe border-top-width computed value.
border_right_width: TThe border-right-width computed value.
border_bottom_width: TThe border-bottom-width computed value.
border_left_width: TThe border-left-width computed value.
border_top_left_radius: TThe border-top-left-radius computed value.
border_top_right_radius: TThe border-top-right-radius computed value.
border_bottom_right_radius: TThe border-bottom-right-radius computed value.
border_bottom_left_radius: TThe border-bottom-left-radius computed value.
corner_top_left_shape: TThe corner-top-left-shape computed value.
corner_top_right_shape: TThe corner-top-right-shape computed value.
corner_bottom_right_shape: TThe corner-bottom-right-shape computed value.
corner_bottom_left_shape: TThe corner-bottom-left-shape computed value.
box_decoration_break: TThe box-decoration-break computed value.
Implementations§
Source§impl Border
impl Border
Sourcepub fn set_border_image_outset(&mut self, v: T)
pub fn set_border_image_outset(&mut self, v: T)
Set border-image-outset.
Sourcepub fn copy_border_image_outset_from(&mut self, other: &Self)
pub fn copy_border_image_outset_from(&mut self, other: &Self)
Set border-image-outset from other struct.
Sourcepub fn reset_border_image_outset(&mut self, other: &Self)
pub fn reset_border_image_outset(&mut self, other: &Self)
Reset border-image-outset from the initial struct.
Sourcepub fn get_border_image_outset(&self) -> &T
pub fn get_border_image_outset(&self) -> &T
Get a reference to the computed value for border-image-outset.
Sourcepub fn slow_clone_border_image_outset(&self) -> T
pub fn slow_clone_border_image_outset(&self) -> T
Clone the computed value for border-image-outset. Prefer
get_border_image_outset where a reference is enough.
Sourcepub fn border_image_outset_equals(&self, other: &Self) -> bool
pub fn border_image_outset_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-image-outset.
Sourcepub fn set_border_image_repeat(&mut self, v: T)
pub fn set_border_image_repeat(&mut self, v: T)
Set border-image-repeat.
Sourcepub fn copy_border_image_repeat_from(&mut self, other: &Self)
pub fn copy_border_image_repeat_from(&mut self, other: &Self)
Set border-image-repeat from other struct.
Sourcepub fn reset_border_image_repeat(&mut self, other: &Self)
pub fn reset_border_image_repeat(&mut self, other: &Self)
Reset border-image-repeat from the initial struct.
Sourcepub fn get_border_image_repeat(&self) -> &T
pub fn get_border_image_repeat(&self) -> &T
Get a reference to the computed value for border-image-repeat.
Sourcepub fn slow_clone_border_image_repeat(&self) -> T
pub fn slow_clone_border_image_repeat(&self) -> T
Clone the computed value for border-image-repeat. Prefer
get_border_image_repeat where a reference is enough.
Sourcepub fn border_image_repeat_equals(&self, other: &Self) -> bool
pub fn border_image_repeat_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-image-repeat.
Sourcepub fn set_border_image_slice(&mut self, v: T)
pub fn set_border_image_slice(&mut self, v: T)
Set border-image-slice.
Sourcepub fn copy_border_image_slice_from(&mut self, other: &Self)
pub fn copy_border_image_slice_from(&mut self, other: &Self)
Set border-image-slice from other struct.
Sourcepub fn reset_border_image_slice(&mut self, other: &Self)
pub fn reset_border_image_slice(&mut self, other: &Self)
Reset border-image-slice from the initial struct.
Sourcepub fn get_border_image_slice(&self) -> &T
pub fn get_border_image_slice(&self) -> &T
Get a reference to the computed value for border-image-slice.
Sourcepub fn slow_clone_border_image_slice(&self) -> T
pub fn slow_clone_border_image_slice(&self) -> T
Clone the computed value for border-image-slice. Prefer
get_border_image_slice where a reference is enough.
Sourcepub fn border_image_slice_equals(&self, other: &Self) -> bool
pub fn border_image_slice_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-image-slice.
Sourcepub fn set_border_image_source(&mut self, v: T)
pub fn set_border_image_source(&mut self, v: T)
Set border-image-source.
Sourcepub fn copy_border_image_source_from(&mut self, other: &Self)
pub fn copy_border_image_source_from(&mut self, other: &Self)
Set border-image-source from other struct.
Sourcepub fn reset_border_image_source(&mut self, other: &Self)
pub fn reset_border_image_source(&mut self, other: &Self)
Reset border-image-source from the initial struct.
Sourcepub fn get_border_image_source(&self) -> &T
pub fn get_border_image_source(&self) -> &T
Get a reference to the computed value for border-image-source.
Sourcepub fn slow_clone_border_image_source(&self) -> T
pub fn slow_clone_border_image_source(&self) -> T
Clone the computed value for border-image-source. Prefer
get_border_image_source where a reference is enough.
Sourcepub fn border_image_source_equals(&self, other: &Self) -> bool
pub fn border_image_source_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-image-source.
Sourcepub fn set_border_image_width(&mut self, v: T)
pub fn set_border_image_width(&mut self, v: T)
Set border-image-width.
Sourcepub fn copy_border_image_width_from(&mut self, other: &Self)
pub fn copy_border_image_width_from(&mut self, other: &Self)
Set border-image-width from other struct.
Sourcepub fn reset_border_image_width(&mut self, other: &Self)
pub fn reset_border_image_width(&mut self, other: &Self)
Reset border-image-width from the initial struct.
Sourcepub fn get_border_image_width(&self) -> &T
pub fn get_border_image_width(&self) -> &T
Get a reference to the computed value for border-image-width.
Sourcepub fn slow_clone_border_image_width(&self) -> T
pub fn slow_clone_border_image_width(&self) -> T
Clone the computed value for border-image-width. Prefer
get_border_image_width where a reference is enough.
Sourcepub fn border_image_width_equals(&self, other: &Self) -> bool
pub fn border_image_width_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-image-width.
Sourcepub fn set_border_top_color(&mut self, v: T)
pub fn set_border_top_color(&mut self, v: T)
Set border-top-color.
Sourcepub fn copy_border_top_color_from(&mut self, other: &Self)
pub fn copy_border_top_color_from(&mut self, other: &Self)
Set border-top-color from other struct.
Sourcepub fn reset_border_top_color(&mut self, other: &Self)
pub fn reset_border_top_color(&mut self, other: &Self)
Reset border-top-color from the initial struct.
Sourcepub fn get_border_top_color(&self) -> &T
pub fn get_border_top_color(&self) -> &T
Get a reference to the computed value for border-top-color.
Sourcepub fn slow_clone_border_top_color(&self) -> T
pub fn slow_clone_border_top_color(&self) -> T
Clone the computed value for border-top-color. Prefer
get_border_top_color where a reference is enough.
Sourcepub fn border_top_color_equals(&self, other: &Self) -> bool
pub fn border_top_color_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-top-color.
Sourcepub fn set_border_right_color(&mut self, v: T)
pub fn set_border_right_color(&mut self, v: T)
Set border-right-color.
Sourcepub fn copy_border_right_color_from(&mut self, other: &Self)
pub fn copy_border_right_color_from(&mut self, other: &Self)
Set border-right-color from other struct.
Sourcepub fn reset_border_right_color(&mut self, other: &Self)
pub fn reset_border_right_color(&mut self, other: &Self)
Reset border-right-color from the initial struct.
Sourcepub fn get_border_right_color(&self) -> &T
pub fn get_border_right_color(&self) -> &T
Get a reference to the computed value for border-right-color.
Sourcepub fn slow_clone_border_right_color(&self) -> T
pub fn slow_clone_border_right_color(&self) -> T
Clone the computed value for border-right-color. Prefer
get_border_right_color where a reference is enough.
Sourcepub fn border_right_color_equals(&self, other: &Self) -> bool
pub fn border_right_color_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-right-color.
Sourcepub fn set_border_bottom_color(&mut self, v: T)
pub fn set_border_bottom_color(&mut self, v: T)
Set border-bottom-color.
Sourcepub fn copy_border_bottom_color_from(&mut self, other: &Self)
pub fn copy_border_bottom_color_from(&mut self, other: &Self)
Set border-bottom-color from other struct.
Sourcepub fn reset_border_bottom_color(&mut self, other: &Self)
pub fn reset_border_bottom_color(&mut self, other: &Self)
Reset border-bottom-color from the initial struct.
Sourcepub fn get_border_bottom_color(&self) -> &T
pub fn get_border_bottom_color(&self) -> &T
Get a reference to the computed value for border-bottom-color.
Sourcepub fn slow_clone_border_bottom_color(&self) -> T
pub fn slow_clone_border_bottom_color(&self) -> T
Clone the computed value for border-bottom-color. Prefer
get_border_bottom_color where a reference is enough.
Sourcepub fn border_bottom_color_equals(&self, other: &Self) -> bool
pub fn border_bottom_color_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-bottom-color.
Sourcepub fn set_border_left_color(&mut self, v: T)
pub fn set_border_left_color(&mut self, v: T)
Set border-left-color.
Sourcepub fn copy_border_left_color_from(&mut self, other: &Self)
pub fn copy_border_left_color_from(&mut self, other: &Self)
Set border-left-color from other struct.
Sourcepub fn reset_border_left_color(&mut self, other: &Self)
pub fn reset_border_left_color(&mut self, other: &Self)
Reset border-left-color from the initial struct.
Sourcepub fn get_border_left_color(&self) -> &T
pub fn get_border_left_color(&self) -> &T
Get a reference to the computed value for border-left-color.
Sourcepub fn slow_clone_border_left_color(&self) -> T
pub fn slow_clone_border_left_color(&self) -> T
Clone the computed value for border-left-color. Prefer
get_border_left_color where a reference is enough.
Sourcepub fn border_left_color_equals(&self, other: &Self) -> bool
pub fn border_left_color_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-left-color.
Sourcepub fn set_border_top_style(&mut self, v: T)
pub fn set_border_top_style(&mut self, v: T)
Set border-top-style.
Sourcepub fn copy_border_top_style_from(&mut self, other: &Self)
pub fn copy_border_top_style_from(&mut self, other: &Self)
Set border-top-style from other struct.
Sourcepub fn reset_border_top_style(&mut self, other: &Self)
pub fn reset_border_top_style(&mut self, other: &Self)
Reset border-top-style from the initial struct.
Sourcepub fn get_border_top_style(&self) -> &T
pub fn get_border_top_style(&self) -> &T
Get a reference to the computed value for border-top-style.
Sourcepub fn slow_clone_border_top_style(&self) -> T
pub fn slow_clone_border_top_style(&self) -> T
Clone the computed value for border-top-style. Prefer
get_border_top_style where a reference is enough.
Sourcepub fn border_top_style_equals(&self, other: &Self) -> bool
pub fn border_top_style_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-top-style.
Sourcepub fn set_border_right_style(&mut self, v: T)
pub fn set_border_right_style(&mut self, v: T)
Set border-right-style.
Sourcepub fn copy_border_right_style_from(&mut self, other: &Self)
pub fn copy_border_right_style_from(&mut self, other: &Self)
Set border-right-style from other struct.
Sourcepub fn reset_border_right_style(&mut self, other: &Self)
pub fn reset_border_right_style(&mut self, other: &Self)
Reset border-right-style from the initial struct.
Sourcepub fn get_border_right_style(&self) -> &T
pub fn get_border_right_style(&self) -> &T
Get a reference to the computed value for border-right-style.
Sourcepub fn slow_clone_border_right_style(&self) -> T
pub fn slow_clone_border_right_style(&self) -> T
Clone the computed value for border-right-style. Prefer
get_border_right_style where a reference is enough.
Sourcepub fn border_right_style_equals(&self, other: &Self) -> bool
pub fn border_right_style_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-right-style.
Sourcepub fn set_border_bottom_style(&mut self, v: T)
pub fn set_border_bottom_style(&mut self, v: T)
Set border-bottom-style.
Sourcepub fn copy_border_bottom_style_from(&mut self, other: &Self)
pub fn copy_border_bottom_style_from(&mut self, other: &Self)
Set border-bottom-style from other struct.
Sourcepub fn reset_border_bottom_style(&mut self, other: &Self)
pub fn reset_border_bottom_style(&mut self, other: &Self)
Reset border-bottom-style from the initial struct.
Sourcepub fn get_border_bottom_style(&self) -> &T
pub fn get_border_bottom_style(&self) -> &T
Get a reference to the computed value for border-bottom-style.
Sourcepub fn slow_clone_border_bottom_style(&self) -> T
pub fn slow_clone_border_bottom_style(&self) -> T
Clone the computed value for border-bottom-style. Prefer
get_border_bottom_style where a reference is enough.
Sourcepub fn border_bottom_style_equals(&self, other: &Self) -> bool
pub fn border_bottom_style_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-bottom-style.
Sourcepub fn set_border_left_style(&mut self, v: T)
pub fn set_border_left_style(&mut self, v: T)
Set border-left-style.
Sourcepub fn copy_border_left_style_from(&mut self, other: &Self)
pub fn copy_border_left_style_from(&mut self, other: &Self)
Set border-left-style from other struct.
Sourcepub fn reset_border_left_style(&mut self, other: &Self)
pub fn reset_border_left_style(&mut self, other: &Self)
Reset border-left-style from the initial struct.
Sourcepub fn get_border_left_style(&self) -> &T
pub fn get_border_left_style(&self) -> &T
Get a reference to the computed value for border-left-style.
Sourcepub fn slow_clone_border_left_style(&self) -> T
pub fn slow_clone_border_left_style(&self) -> T
Clone the computed value for border-left-style. Prefer
get_border_left_style where a reference is enough.
Sourcepub fn border_left_style_equals(&self, other: &Self) -> bool
pub fn border_left_style_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-left-style.
Sourcepub fn set_border_top_width(&mut self, v: T)
pub fn set_border_top_width(&mut self, v: T)
Set border-top-width.
Sourcepub fn copy_border_top_width_from(&mut self, other: &Self)
pub fn copy_border_top_width_from(&mut self, other: &Self)
Set border-top-width from other struct.
Sourcepub fn reset_border_top_width(&mut self, other: &Self)
pub fn reset_border_top_width(&mut self, other: &Self)
Reset border-top-width from the initial struct.
Sourcepub fn get_border_top_width(&self) -> &T
pub fn get_border_top_width(&self) -> &T
Get a reference to the computed value for border-top-width.
Sourcepub fn slow_clone_border_top_width(&self) -> T
pub fn slow_clone_border_top_width(&self) -> T
Clone the computed value for border-top-width. Prefer
get_border_top_width where a reference is enough.
Sourcepub fn border_top_width_equals(&self, other: &Self) -> bool
pub fn border_top_width_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-top-width.
Sourcepub fn set_border_right_width(&mut self, v: T)
pub fn set_border_right_width(&mut self, v: T)
Set border-right-width.
Sourcepub fn copy_border_right_width_from(&mut self, other: &Self)
pub fn copy_border_right_width_from(&mut self, other: &Self)
Set border-right-width from other struct.
Sourcepub fn reset_border_right_width(&mut self, other: &Self)
pub fn reset_border_right_width(&mut self, other: &Self)
Reset border-right-width from the initial struct.
Sourcepub fn get_border_right_width(&self) -> &T
pub fn get_border_right_width(&self) -> &T
Get a reference to the computed value for border-right-width.
Sourcepub fn slow_clone_border_right_width(&self) -> T
pub fn slow_clone_border_right_width(&self) -> T
Clone the computed value for border-right-width. Prefer
get_border_right_width where a reference is enough.
Sourcepub fn border_right_width_equals(&self, other: &Self) -> bool
pub fn border_right_width_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-right-width.
Sourcepub fn set_border_bottom_width(&mut self, v: T)
pub fn set_border_bottom_width(&mut self, v: T)
Set border-bottom-width.
Sourcepub fn copy_border_bottom_width_from(&mut self, other: &Self)
pub fn copy_border_bottom_width_from(&mut self, other: &Self)
Set border-bottom-width from other struct.
Sourcepub fn reset_border_bottom_width(&mut self, other: &Self)
pub fn reset_border_bottom_width(&mut self, other: &Self)
Reset border-bottom-width from the initial struct.
Sourcepub fn get_border_bottom_width(&self) -> &T
pub fn get_border_bottom_width(&self) -> &T
Get a reference to the computed value for border-bottom-width.
Sourcepub fn slow_clone_border_bottom_width(&self) -> T
pub fn slow_clone_border_bottom_width(&self) -> T
Clone the computed value for border-bottom-width. Prefer
get_border_bottom_width where a reference is enough.
Sourcepub fn border_bottom_width_equals(&self, other: &Self) -> bool
pub fn border_bottom_width_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-bottom-width.
Sourcepub fn set_border_left_width(&mut self, v: T)
pub fn set_border_left_width(&mut self, v: T)
Set border-left-width.
Sourcepub fn copy_border_left_width_from(&mut self, other: &Self)
pub fn copy_border_left_width_from(&mut self, other: &Self)
Set border-left-width from other struct.
Sourcepub fn reset_border_left_width(&mut self, other: &Self)
pub fn reset_border_left_width(&mut self, other: &Self)
Reset border-left-width from the initial struct.
Sourcepub fn get_border_left_width(&self) -> &T
pub fn get_border_left_width(&self) -> &T
Get a reference to the computed value for border-left-width.
Sourcepub fn slow_clone_border_left_width(&self) -> T
pub fn slow_clone_border_left_width(&self) -> T
Clone the computed value for border-left-width. Prefer
get_border_left_width where a reference is enough.
Sourcepub fn border_left_width_equals(&self, other: &Self) -> bool
pub fn border_left_width_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-left-width.
Sourcepub fn set_border_top_left_radius(&mut self, v: T)
pub fn set_border_top_left_radius(&mut self, v: T)
Set border-top-left-radius.
Sourcepub fn copy_border_top_left_radius_from(&mut self, other: &Self)
pub fn copy_border_top_left_radius_from(&mut self, other: &Self)
Set border-top-left-radius from other struct.
Sourcepub fn reset_border_top_left_radius(&mut self, other: &Self)
pub fn reset_border_top_left_radius(&mut self, other: &Self)
Reset border-top-left-radius from the initial struct.
Sourcepub fn get_border_top_left_radius(&self) -> &T
pub fn get_border_top_left_radius(&self) -> &T
Get a reference to the computed value for border-top-left-radius.
Sourcepub fn slow_clone_border_top_left_radius(&self) -> T
pub fn slow_clone_border_top_left_radius(&self) -> T
Clone the computed value for border-top-left-radius. Prefer
get_border_top_left_radius where a reference is enough.
Sourcepub fn border_top_left_radius_equals(&self, other: &Self) -> bool
pub fn border_top_left_radius_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-top-left-radius.
Sourcepub fn set_border_top_right_radius(&mut self, v: T)
pub fn set_border_top_right_radius(&mut self, v: T)
Set border-top-right-radius.
Sourcepub fn copy_border_top_right_radius_from(&mut self, other: &Self)
pub fn copy_border_top_right_radius_from(&mut self, other: &Self)
Set border-top-right-radius from other struct.
Sourcepub fn reset_border_top_right_radius(&mut self, other: &Self)
pub fn reset_border_top_right_radius(&mut self, other: &Self)
Reset border-top-right-radius from the initial struct.
Sourcepub fn get_border_top_right_radius(&self) -> &T
pub fn get_border_top_right_radius(&self) -> &T
Get a reference to the computed value for border-top-right-radius.
Sourcepub fn slow_clone_border_top_right_radius(&self) -> T
pub fn slow_clone_border_top_right_radius(&self) -> T
Clone the computed value for border-top-right-radius. Prefer
get_border_top_right_radius where a reference is enough.
Sourcepub fn border_top_right_radius_equals(&self, other: &Self) -> bool
pub fn border_top_right_radius_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-top-right-radius.
Sourcepub fn set_border_bottom_right_radius(&mut self, v: T)
pub fn set_border_bottom_right_radius(&mut self, v: T)
Set border-bottom-right-radius.
Sourcepub fn copy_border_bottom_right_radius_from(&mut self, other: &Self)
pub fn copy_border_bottom_right_radius_from(&mut self, other: &Self)
Set border-bottom-right-radius from other struct.
Sourcepub fn reset_border_bottom_right_radius(&mut self, other: &Self)
pub fn reset_border_bottom_right_radius(&mut self, other: &Self)
Reset border-bottom-right-radius from the initial struct.
Sourcepub fn get_border_bottom_right_radius(&self) -> &T
pub fn get_border_bottom_right_radius(&self) -> &T
Get a reference to the computed value for border-bottom-right-radius.
Sourcepub fn slow_clone_border_bottom_right_radius(&self) -> T
pub fn slow_clone_border_bottom_right_radius(&self) -> T
Clone the computed value for border-bottom-right-radius. Prefer
get_border_bottom_right_radius where a reference is enough.
Sourcepub fn border_bottom_right_radius_equals(&self, other: &Self) -> bool
pub fn border_bottom_right_radius_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-bottom-right-radius.
Sourcepub fn set_border_bottom_left_radius(&mut self, v: T)
pub fn set_border_bottom_left_radius(&mut self, v: T)
Set border-bottom-left-radius.
Sourcepub fn copy_border_bottom_left_radius_from(&mut self, other: &Self)
pub fn copy_border_bottom_left_radius_from(&mut self, other: &Self)
Set border-bottom-left-radius from other struct.
Sourcepub fn reset_border_bottom_left_radius(&mut self, other: &Self)
pub fn reset_border_bottom_left_radius(&mut self, other: &Self)
Reset border-bottom-left-radius from the initial struct.
Sourcepub fn get_border_bottom_left_radius(&self) -> &T
pub fn get_border_bottom_left_radius(&self) -> &T
Get a reference to the computed value for border-bottom-left-radius.
Sourcepub fn slow_clone_border_bottom_left_radius(&self) -> T
pub fn slow_clone_border_bottom_left_radius(&self) -> T
Clone the computed value for border-bottom-left-radius. Prefer
get_border_bottom_left_radius where a reference is enough.
Sourcepub fn border_bottom_left_radius_equals(&self, other: &Self) -> bool
pub fn border_bottom_left_radius_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for border-bottom-left-radius.
Sourcepub fn set_corner_top_left_shape(&mut self, v: T)
pub fn set_corner_top_left_shape(&mut self, v: T)
Set corner-top-left-shape.
Sourcepub fn copy_corner_top_left_shape_from(&mut self, other: &Self)
pub fn copy_corner_top_left_shape_from(&mut self, other: &Self)
Set corner-top-left-shape from other struct.
Sourcepub fn reset_corner_top_left_shape(&mut self, other: &Self)
pub fn reset_corner_top_left_shape(&mut self, other: &Self)
Reset corner-top-left-shape from the initial struct.
Sourcepub fn get_corner_top_left_shape(&self) -> &T
pub fn get_corner_top_left_shape(&self) -> &T
Get a reference to the computed value for corner-top-left-shape.
Sourcepub fn slow_clone_corner_top_left_shape(&self) -> T
pub fn slow_clone_corner_top_left_shape(&self) -> T
Clone the computed value for corner-top-left-shape. Prefer
get_corner_top_left_shape where a reference is enough.
Sourcepub fn corner_top_left_shape_equals(&self, other: &Self) -> bool
pub fn corner_top_left_shape_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for corner-top-left-shape.
Sourcepub fn set_corner_top_right_shape(&mut self, v: T)
pub fn set_corner_top_right_shape(&mut self, v: T)
Set corner-top-right-shape.
Sourcepub fn copy_corner_top_right_shape_from(&mut self, other: &Self)
pub fn copy_corner_top_right_shape_from(&mut self, other: &Self)
Set corner-top-right-shape from other struct.
Sourcepub fn reset_corner_top_right_shape(&mut self, other: &Self)
pub fn reset_corner_top_right_shape(&mut self, other: &Self)
Reset corner-top-right-shape from the initial struct.
Sourcepub fn get_corner_top_right_shape(&self) -> &T
pub fn get_corner_top_right_shape(&self) -> &T
Get a reference to the computed value for corner-top-right-shape.
Sourcepub fn slow_clone_corner_top_right_shape(&self) -> T
pub fn slow_clone_corner_top_right_shape(&self) -> T
Clone the computed value for corner-top-right-shape. Prefer
get_corner_top_right_shape where a reference is enough.
Sourcepub fn corner_top_right_shape_equals(&self, other: &Self) -> bool
pub fn corner_top_right_shape_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for corner-top-right-shape.
Sourcepub fn set_corner_bottom_right_shape(&mut self, v: T)
pub fn set_corner_bottom_right_shape(&mut self, v: T)
Set corner-bottom-right-shape.
Sourcepub fn copy_corner_bottom_right_shape_from(&mut self, other: &Self)
pub fn copy_corner_bottom_right_shape_from(&mut self, other: &Self)
Set corner-bottom-right-shape from other struct.
Sourcepub fn reset_corner_bottom_right_shape(&mut self, other: &Self)
pub fn reset_corner_bottom_right_shape(&mut self, other: &Self)
Reset corner-bottom-right-shape from the initial struct.
Sourcepub fn get_corner_bottom_right_shape(&self) -> &T
pub fn get_corner_bottom_right_shape(&self) -> &T
Get a reference to the computed value for corner-bottom-right-shape.
Sourcepub fn slow_clone_corner_bottom_right_shape(&self) -> T
pub fn slow_clone_corner_bottom_right_shape(&self) -> T
Clone the computed value for corner-bottom-right-shape. Prefer
get_corner_bottom_right_shape where a reference is enough.
Sourcepub fn corner_bottom_right_shape_equals(&self, other: &Self) -> bool
pub fn corner_bottom_right_shape_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for corner-bottom-right-shape.
Sourcepub fn set_corner_bottom_left_shape(&mut self, v: T)
pub fn set_corner_bottom_left_shape(&mut self, v: T)
Set corner-bottom-left-shape.
Sourcepub fn copy_corner_bottom_left_shape_from(&mut self, other: &Self)
pub fn copy_corner_bottom_left_shape_from(&mut self, other: &Self)
Set corner-bottom-left-shape from other struct.
Sourcepub fn reset_corner_bottom_left_shape(&mut self, other: &Self)
pub fn reset_corner_bottom_left_shape(&mut self, other: &Self)
Reset corner-bottom-left-shape from the initial struct.
Sourcepub fn get_corner_bottom_left_shape(&self) -> &T
pub fn get_corner_bottom_left_shape(&self) -> &T
Get a reference to the computed value for corner-bottom-left-shape.
Sourcepub fn slow_clone_corner_bottom_left_shape(&self) -> T
pub fn slow_clone_corner_bottom_left_shape(&self) -> T
Clone the computed value for corner-bottom-left-shape. Prefer
get_corner_bottom_left_shape where a reference is enough.
Sourcepub fn corner_bottom_left_shape_equals(&self, other: &Self) -> bool
pub fn corner_bottom_left_shape_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for corner-bottom-left-shape.
Sourcepub fn set_box_decoration_break(&mut self, v: T)
pub fn set_box_decoration_break(&mut self, v: T)
Set box-decoration-break.
Sourcepub fn copy_box_decoration_break_from(&mut self, other: &Self)
pub fn copy_box_decoration_break_from(&mut self, other: &Self)
Set box-decoration-break from other struct.
Sourcepub fn reset_box_decoration_break(&mut self, other: &Self)
pub fn reset_box_decoration_break(&mut self, other: &Self)
Reset box-decoration-break from the initial struct.
Sourcepub fn get_box_decoration_break(&self) -> &T
pub fn get_box_decoration_break(&self) -> &T
Get a reference to the computed value for box-decoration-break.
Sourcepub fn slow_clone_box_decoration_break(&self) -> T
pub fn slow_clone_box_decoration_break(&self) -> T
Clone the computed value for box-decoration-break. Prefer
get_box_decoration_break where a reference is enough.
Sourcepub fn box_decoration_break_equals(&self, other: &Self) -> bool
pub fn box_decoration_break_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for box-decoration-break.
Trait Implementations§
Source§impl MallocSizeOf for Border
impl MallocSizeOf for Border
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
impl StructuralPartialEq for Border
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin for Border
impl UnwindSafe for Border
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more