Struct r3bl_rs_utils::CodeBlockLine
source · pub struct CodeBlockLine<'a> {
pub language: Option<&'a str>,
pub content: CodeBlockLineContent<'a>,
}
Fields§
§language: Option<&'a str>
§content: CodeBlockLineContent<'a>
Trait Implementations§
source§impl<'a> Clone for CodeBlockLine<'a>
impl<'a> Clone for CodeBlockLine<'a>
source§fn clone(&self) -> CodeBlockLine<'a>
fn clone(&self) -> CodeBlockLine<'a>
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<'a> Debug for CodeBlockLine<'a>
impl<'a> Debug for CodeBlockLine<'a>
source§impl<'a> PartialEq for CodeBlockLine<'a>
impl<'a> PartialEq for CodeBlockLine<'a>
source§fn eq(&self, other: &CodeBlockLine<'a>) -> bool
fn eq(&self, other: &CodeBlockLine<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for CodeBlockLine<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CodeBlockLine<'a>
impl<'a> Send for CodeBlockLine<'a>
impl<'a> Sync for CodeBlockLine<'a>
impl<'a> Unpin for CodeBlockLine<'a>
impl<'a> UnwindSafe for CodeBlockLine<'a>
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