pub struct TextDraw {
pub node_id: NodeId,
pub rect: Rect,
pub text: Rc<str>,
pub color: Color,
pub scale: f32,
pub z_index: usize,
pub clip: Option<Rect>,
}Fields§
§node_id: NodeId§rect: Rect§text: Rc<str>§color: Color§scale: f32§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 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