pub enum SemanticStyle {
Show 21 variants
Body,
Muted,
Heading1,
Heading2,
Heading3,
Heading4,
Heading5,
Heading6,
Strong,
Emphasis,
Strike,
InlineCode,
Link,
Quote,
Code,
Border,
AlertNote,
AlertTip,
AlertImportant,
AlertWarning,
AlertCaution,
}Expand description
意味スタイル(§19)。色は持たず、Theme側で実際の色へ変換する。
Variants§
Body
Muted
Heading1
Heading2
Heading3
Heading4
Heading5
Heading6
Strong
Emphasis
Strike
InlineCode
Link
Quote
Code
Border
AlertNote
AlertTip
AlertImportant
AlertWarning
AlertCaution
Implementations§
Trait Implementations§
Source§impl Clone for SemanticStyle
impl Clone for SemanticStyle
Source§fn clone(&self) -> SemanticStyle
fn clone(&self) -> SemanticStyle
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 moreimpl Copy for SemanticStyle
Source§impl Debug for SemanticStyle
impl Debug for SemanticStyle
impl Eq for SemanticStyle
Source§impl PartialEq for SemanticStyle
impl PartialEq for SemanticStyle
impl StructuralPartialEq for SemanticStyle
Auto Trait Implementations§
impl Freeze for SemanticStyle
impl RefUnwindSafe for SemanticStyle
impl Send for SemanticStyle
impl Sync for SemanticStyle
impl Unpin for SemanticStyle
impl UnsafeUnpin for SemanticStyle
impl UnwindSafe for SemanticStyle
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