pub struct RichTextLayoutInfo {
pub width: f32,
pub height: f32,
pub inline_boxes: Vec<RichTextInlineBox>,
}Fields§
§width: f32§height: f32§inline_boxes: Vec<RichTextInlineBox>Trait Implementations§
Source§impl Clone for RichTextLayoutInfo
impl Clone for RichTextLayoutInfo
Source§fn clone(&self) -> RichTextLayoutInfo
fn clone(&self) -> RichTextLayoutInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RichTextLayoutInfo
impl Debug for RichTextLayoutInfo
Source§impl PartialEq for RichTextLayoutInfo
impl PartialEq for RichTextLayoutInfo
Source§fn eq(&self, other: &RichTextLayoutInfo) -> bool
fn eq(&self, other: &RichTextLayoutInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RichTextLayoutInfo
Auto Trait Implementations§
impl Freeze for RichTextLayoutInfo
impl RefUnwindSafe for RichTextLayoutInfo
impl Send for RichTextLayoutInfo
impl Sync for RichTextLayoutInfo
impl Unpin for RichTextLayoutInfo
impl UnsafeUnpin for RichTextLayoutInfo
impl UnwindSafe for RichTextLayoutInfo
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