pub struct CodeContent {
pub blocks: Vec<CodeElem>,
pub meta: LinkedHashMap<CowStr, CowStr>,
pub hash: u64,
}
Fields§
§blocks: Vec<CodeElem>
§meta: LinkedHashMap<CowStr, CowStr>
§hash: u64
Implementations§
Trait Implementations§
Source§impl Clone for CodeContent
impl Clone for CodeContent
Source§fn clone(&self) -> CodeContent
fn clone(&self) -> CodeContent
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 CodeContent
impl Debug for CodeContent
Source§impl Default for CodeContent
impl Default for CodeContent
Source§fn default() -> CodeContent
fn default() -> CodeContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeContent
impl<'de> Deserialize<'de> for CodeContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CodeContent
impl PartialEq for CodeContent
Source§impl Serialize for CodeContent
impl Serialize for CodeContent
impl StructuralPartialEq for CodeContent
Auto Trait Implementations§
impl Freeze for CodeContent
impl RefUnwindSafe for CodeContent
impl Send for CodeContent
impl Sync for CodeContent
impl Unpin for CodeContent
impl UnwindSafe for CodeContent
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