pub struct Code {
pub value: String,
pub position: Option<Position>,
pub lang: Option<String>,
pub meta: Option<String>,
}
Expand description
Code (flow).
> | ~~~
^^^
> | a
^
> | ~~~
^^^
Fields§
§value: String
Content model.
position: Option<Position>
Positional info.
lang: Option<String>
The language of computer code being marked up.
meta: Option<String>
Custom info relating to the node.
Trait Implementations§
source§impl PartialEq for Code
impl PartialEq for Code
impl Eq for Code
impl StructuralEq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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