pub struct DividerTheme {
pub height: Option<f32>,
pub thickness: Option<f32>,
pub color: Option<Color>,
pub indent: Option<f32>,
pub end_indent: Option<f32>,
}Expand description
Defaults for Divider.
Fields§
§height: Option<f32>The room the separator takes in the layout.
thickness: Option<f32>The thickness of the line drawn inside that room.
color: Option<Color>Its colour.
indent: Option<f32>Its inset from the leading edge.
end_indent: Option<f32>Its inset from the trailing edge.
Trait Implementations§
Source§impl Clone for DividerTheme
impl Clone for DividerTheme
impl Copy for DividerTheme
Source§impl Debug for DividerTheme
impl Debug for DividerTheme
Source§impl Default for DividerTheme
impl Default for DividerTheme
Source§impl PartialEq for DividerTheme
impl PartialEq for DividerTheme
impl StructuralPartialEq for DividerTheme
Auto Trait Implementations§
impl Freeze for DividerTheme
impl RefUnwindSafe for DividerTheme
impl Send for DividerTheme
impl Sync for DividerTheme
impl Unpin for DividerTheme
impl UnsafeUnpin for DividerTheme
impl UnwindSafe for DividerTheme
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