pub struct TextDraw {
pub node_id: NodeId,
pub rect: Rect,
pub text: Rc<AnnotatedString>,
pub color: Color,
pub text_style: TextStyle,
pub font_size: f32,
pub scale: f32,
pub layout_options: TextLayoutOptions,
pub z_index: usize,
pub clip: Option<Rect>,
}Fields§
§node_id: NodeId§rect: Rect§text: Rc<AnnotatedString>§color: Color§text_style: TextStyle§font_size: f32§scale: f32§layout_options: TextLayoutOptions§z_index: usize§clip: Option<Rect>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextDraw
impl RefUnwindSafe for TextDraw
impl !Send for TextDraw
impl !Sync for TextDraw
impl Unpin for TextDraw
impl UnsafeUnpin for TextDraw
impl UnwindSafe for TextDraw
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