pub enum LineTypes {
None,
Ordered,
Unordered,
}
Expand description
An array with the same number of elements as lines in the text node, where lines are delimited by newline or paragraph separator characters. Each element in the array corresponds to the list type of a specific line. List types are represented as string enums with one of these possible values: - NONE
: Not a list item. - ORDERED
: Text is an ordered list (numbered). - UNORDERED
: Text is an unordered list (bulleted).
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineTypes
impl<'de> Deserialize<'de> for LineTypes
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 Ord for LineTypes
impl Ord for LineTypes
Source§impl PartialOrd for LineTypes
impl PartialOrd for LineTypes
impl Copy for LineTypes
impl Eq for LineTypes
impl StructuralPartialEq for LineTypes
Auto Trait Implementations§
impl Freeze for LineTypes
impl RefUnwindSafe for LineTypes
impl Send for LineTypes
impl Sync for LineTypes
impl Unpin for LineTypes
impl UnwindSafe for LineTypes
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.