pub struct SeparatorProps {
pub attrs: AttrMap,
}Expand description
Separator — rendered as <hr role="separator">. No CSS class, no variants.
Upstream basecoat uses role="separator" with CSS that targets that attribute.
Fields§
§attrs: AttrMapImplementations§
Source§impl SeparatorProps
impl SeparatorProps
pub const __BASECOAT_EXTEND_FIELD: Option<&'static str>
Sourcepub fn builder() -> SeparatorPropsBuilder
pub fn builder() -> SeparatorPropsBuilder
Create a builder for this prop struct.
Trait Implementations§
Source§impl Clone for SeparatorProps
impl Clone for SeparatorProps
Source§fn clone(&self) -> SeparatorProps
fn clone(&self) -> SeparatorProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SeparatorProps
impl Debug for SeparatorProps
Source§impl Default for SeparatorProps
impl Default for SeparatorProps
Source§fn default() -> SeparatorProps
fn default() -> SeparatorProps
Returns the “default value” for a type. Read more
Source§impl From<SeparatorPropsBuilder> for SeparatorProps
impl From<SeparatorPropsBuilder> for SeparatorProps
Source§fn from(b: SeparatorPropsBuilder) -> Self
fn from(b: SeparatorPropsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SeparatorProps
impl RefUnwindSafe for SeparatorProps
impl Send for SeparatorProps
impl Sync for SeparatorProps
impl Unpin for SeparatorProps
impl UnsafeUnpin for SeparatorProps
impl UnwindSafe for SeparatorProps
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