pub enum Block {
Paragraph {
text: String,
level: u8,
},
Table(Vec<Vec<String>>),
}Expand description
Um bloco de texto do documento.
Variants§
Paragraph
Parágrafo; level > 0 é título (1 = o maior).
Table(Vec<Vec<String>>)
Tabela: linhas de células.
Trait Implementations§
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Forget for Block
impl Freeze for Block
impl Move for Block
impl RefUnwindSafe for Block
impl Send for Blockwhere
RawVecInner: Send,
impl Sync for Blockwhere
RawVecInner: Sync,
impl Unpin for Block
impl UnsafeUnpin for Blockwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Vec<String>>: UnsafeUnpin,
impl UnwindSafe for Blockwhere
RawVecInner: UnwindSafe,
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