pub struct ResolvedTextBody {
pub insets: TextInsets,
pub anchor: TextAnchor,
pub wrap: bool,
pub vertical: TextDirection,
pub space_first_last_paragraph: bool,
pub autofit: ResolvedAutofit,
pub paragraphs: Vec<ResolvedParagraph>,
}Expand description
Text-box geometry and paragraphs after inheritance.
Fields§
§insets: TextInsets§anchor: TextAnchor§wrap: bool§vertical: TextDirection§space_first_last_paragraph: bool§autofit: ResolvedAutofit§paragraphs: Vec<ResolvedParagraph>Trait Implementations§
Source§impl Clone for ResolvedTextBody
impl Clone for ResolvedTextBody
Source§fn clone(&self) -> ResolvedTextBody
fn clone(&self) -> ResolvedTextBody
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 ResolvedTextBody
impl Debug for ResolvedTextBody
Source§impl PartialEq for ResolvedTextBody
impl PartialEq for ResolvedTextBody
impl StructuralPartialEq for ResolvedTextBody
Auto Trait Implementations§
impl Freeze for ResolvedTextBody
impl RefUnwindSafe for ResolvedTextBody
impl Send for ResolvedTextBody
impl Sync for ResolvedTextBody
impl Unpin for ResolvedTextBody
impl UnsafeUnpin for ResolvedTextBody
impl UnwindSafe for ResolvedTextBody
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