pub struct Separator {
pub id: Option<i32>,
pub divider: Option<bool>,
pub spacing: Option<SeparatorSpacingSize>,
}
Expand description
A separator is a layout component that adds vertical padding and visual division between components.
Fields§
§id: Option<i32>
Optional identifier for the separator.
divider: Option<bool>
Whether a visual divider should be shown. Defaults to true
.
spacing: Option<SeparatorSpacingSize>
The size of the separator padding. Defaults to Small
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Separator
impl<'de> Deserialize<'de> for Separator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Separator
impl StructuralPartialEq for Separator
Auto Trait Implementations§
impl Freeze for Separator
impl RefUnwindSafe for Separator
impl Send for Separator
impl Sync for Separator
impl Unpin for Separator
impl UnwindSafe for Separator
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