pub struct StyleCodeBlock {
pub block: StyleBlock,
pub theme: Option<String>,
}Expand description
Code block style settings.
Fields§
§block: StyleBlockBlock style settings.
theme: Option<String>Syntax highlighting theme name.
Implementations§
Trait Implementations§
Source§impl Clone for StyleCodeBlock
impl Clone for StyleCodeBlock
Source§fn clone(&self) -> StyleCodeBlock
fn clone(&self) -> StyleCodeBlock
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 StyleCodeBlock
impl Debug for StyleCodeBlock
Source§impl Default for StyleCodeBlock
impl Default for StyleCodeBlock
Source§fn default() -> StyleCodeBlock
fn default() -> StyleCodeBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StyleCodeBlock
impl RefUnwindSafe for StyleCodeBlock
impl Send for StyleCodeBlock
impl Sync for StyleCodeBlock
impl Unpin for StyleCodeBlock
impl UnwindSafe for StyleCodeBlock
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