#[non_exhaustive]pub enum HorizontalRule {
Dashes,
Asterisks,
Underscores,
}Expand description
Horizontal rule style.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for HorizontalRule
impl Clone for HorizontalRule
Source§fn clone(&self) -> HorizontalRule
fn clone(&self) -> HorizontalRule
Returns a duplicate of the value. Read more
1.0.0 · 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 HorizontalRule
impl Debug for HorizontalRule
Source§impl Default for HorizontalRule
impl Default for HorizontalRule
Source§fn default() -> HorizontalRule
fn default() -> HorizontalRule
Returns the “default value” for a type. Read more
Source§impl PartialEq for HorizontalRule
impl PartialEq for HorizontalRule
impl Copy for HorizontalRule
impl Eq for HorizontalRule
impl StructuralPartialEq for HorizontalRule
Auto Trait Implementations§
impl Freeze for HorizontalRule
impl RefUnwindSafe for HorizontalRule
impl Send for HorizontalRule
impl Sync for HorizontalRule
impl Unpin for HorizontalRule
impl UnsafeUnpin for HorizontalRule
impl UnwindSafe for HorizontalRule
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