pub struct DocumentLayout {
pub indent_state: Vec<Option<IndentState>>,
pub tokens: Vec<Vec<Token>>,
pub inline_inlays: Vec<Vec<(usize, InlineInlay)>>,
pub block_inlays: Vec<(usize, BlockInlay)>,
}
Fields§
§indent_state: Vec<Option<IndentState>>
§tokens: Vec<Vec<Token>>
§inline_inlays: Vec<Vec<(usize, InlineInlay)>>
§block_inlays: Vec<(usize, BlockInlay)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DocumentLayout
impl RefUnwindSafe for DocumentLayout
impl Send for DocumentLayout
impl Sync for DocumentLayout
impl Unpin for DocumentLayout
impl UnwindSafe for DocumentLayout
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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