pub enum BlockDetail {
None,
Code {
lang: String,
fence: usize,
},
Table {
columns: Vec<String>,
readings: Vec<String>,
},
Region {
target: String,
},
Quote {
headings: Vec<Heading>,
},
}Expand description
The per-kind facts grammar block keys test.
Variants§
None
Nothing beyond the kind.
Code
A code block’s tag and fence length; an indented block has an empty tag and fence 0.
Fields
Table
A table’s header row.
Fields
Region
A region’s open-marker target, as written.
Quote
The headings inside a blockquote, which the quote does not read as its paragraphs, each with its lines and its style.
Trait Implementations§
Source§impl Clone for BlockDetail
impl Clone for BlockDetail
Source§fn clone(&self) -> BlockDetail
fn clone(&self) -> BlockDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BlockDetail
impl Debug for BlockDetail
Source§impl<'de> Deserialize<'de> for BlockDetail
impl<'de> Deserialize<'de> for BlockDetail
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BlockDetail
Source§impl PartialEq for BlockDetail
impl PartialEq for BlockDetail
Source§impl Serialize for BlockDetail
impl Serialize for BlockDetail
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BlockDetail
Auto Trait Implementations§
impl Forget for BlockDetail
impl Freeze for BlockDetail
impl Move for BlockDetail
impl RefUnwindSafe for BlockDetail
impl Send for BlockDetail
impl Sync for BlockDetail
impl Unpin for BlockDetail
impl UnsafeUnpin for BlockDetail
impl UnwindSafe for BlockDetail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.