pub struct LayoutResult {
pub rects: NodeDataContainer<PositionedRectangle>,
pub word_cache: BTreeMap<NodeId, Words>,
pub scaled_words: BTreeMap<NodeId, (ScaledWords, FontInstanceKey)>,
pub positioned_word_cache: BTreeMap<NodeId, (WordPositions, FontInstanceKey)>,
pub layouted_glyph_cache: BTreeMap<NodeId, LayoutedGlyphs>,
pub node_depths: Vec<(usize, NodeId)>,
}
Fields§
§rects: NodeDataContainer<PositionedRectangle>
§word_cache: BTreeMap<NodeId, Words>
§scaled_words: BTreeMap<NodeId, (ScaledWords, FontInstanceKey)>
§positioned_word_cache: BTreeMap<NodeId, (WordPositions, FontInstanceKey)>
§layouted_glyph_cache: BTreeMap<NodeId, LayoutedGlyphs>
§node_depths: Vec<(usize, NodeId)>
Trait Implementations§
Source§impl Clone for LayoutResult
impl Clone for LayoutResult
Source§fn clone(&self) -> LayoutResult
fn clone(&self) -> LayoutResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LayoutResult
impl Debug for LayoutResult
Source§impl Default for LayoutResult
impl Default for LayoutResult
Source§fn default() -> LayoutResult
fn default() -> LayoutResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutResult
impl RefUnwindSafe for LayoutResult
impl Send for LayoutResult
impl Sync for LayoutResult
impl Unpin for LayoutResult
impl UnwindSafe for LayoutResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)