pub struct TextMeasureRequest<'a> {
pub text: &'a str,
pub bounds: UiRect,
pub font_height: f32,
pub font_weight: i32,
}Fields§
§text: &'a str§bounds: UiRect§font_height: f32§font_weight: i32Trait Implementations§
Source§impl<'a> Clone for TextMeasureRequest<'a>
impl<'a> Clone for TextMeasureRequest<'a>
Source§fn clone(&self) -> TextMeasureRequest<'a>
fn clone(&self) -> TextMeasureRequest<'a>
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 moreimpl<'a> Copy for TextMeasureRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextMeasureRequest<'a>
impl<'a> RefUnwindSafe for TextMeasureRequest<'a>
impl<'a> Send for TextMeasureRequest<'a>
impl<'a> Sync for TextMeasureRequest<'a>
impl<'a> Unpin for TextMeasureRequest<'a>
impl<'a> UnsafeUnpin for TextMeasureRequest<'a>
impl<'a> UnwindSafe for TextMeasureRequest<'a>
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