Struct language2::markdown::MarkdownHighlightStyle
source · pub struct MarkdownHighlightStyle {
pub italic: bool,
pub underline: bool,
pub weight: FontWeight,
}
Fields§
§italic: bool
§underline: bool
§weight: FontWeight
Trait Implementations§
source§impl Clone for MarkdownHighlightStyle
impl Clone for MarkdownHighlightStyle
source§fn clone(&self) -> MarkdownHighlightStyle
fn clone(&self) -> MarkdownHighlightStyle
Returns a copy 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 MarkdownHighlightStyle
impl Debug for MarkdownHighlightStyle
source§impl Default for MarkdownHighlightStyle
impl Default for MarkdownHighlightStyle
source§fn default() -> MarkdownHighlightStyle
fn default() -> MarkdownHighlightStyle
Returns the “default value” for a type. Read more
source§impl PartialEq<MarkdownHighlightStyle> for MarkdownHighlightStyle
impl PartialEq<MarkdownHighlightStyle> for MarkdownHighlightStyle
source§fn eq(&self, other: &MarkdownHighlightStyle) -> bool
fn eq(&self, other: &MarkdownHighlightStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MarkdownHighlightStyle
impl StructuralEq for MarkdownHighlightStyle
impl StructuralPartialEq for MarkdownHighlightStyle
Auto Trait Implementations§
impl RefUnwindSafe for MarkdownHighlightStyle
impl Send for MarkdownHighlightStyle
impl Sync for MarkdownHighlightStyle
impl Unpin for MarkdownHighlightStyle
impl UnwindSafe for MarkdownHighlightStyle
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.