Struct makepad_code_editor::document::DocumentLayout
source · 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 RefUnwindSafe for DocumentLayout
impl Send for DocumentLayout
impl Sync for DocumentLayout
impl Unpin for DocumentLayout
impl UnwindSafe for DocumentLayout
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