pub struct WordLayoutResult {
pub layout: LayoutResult,
pub revision_view: RevisionView,
/* private fields */
}Expand description
Complete layout output plus its result-local Word source map.
Fields§
§layout: LayoutResult§revision_view: RevisionViewImplementations§
Source§impl WordLayoutResult
impl WordLayoutResult
Sourcepub fn source_node(&self, id: SourceNodeId) -> Option<&WordSourcePath>
pub fn source_node(&self, id: SourceNodeId) -> Option<&WordSourcePath>
Resolve a result-local source identity.
Sourcepub fn into_layout_result(self) -> LayoutResult
pub fn into_layout_result(self) -> LayoutResult
Discard the Word source map and return the backend-neutral layout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WordLayoutResult
impl RefUnwindSafe for WordLayoutResult
impl Send for WordLayoutResult
impl Sync for WordLayoutResult
impl Unpin for WordLayoutResult
impl UnsafeUnpin for WordLayoutResult
impl UnwindSafe for WordLayoutResult
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