pub struct TextPrimitiveNode {
pub node_id: NodeId,
pub rect: Rect,
pub text: AnnotatedString,
pub text_style: TextStyle,
pub font_size: f32,
pub layout_options: TextLayoutOptions,
pub clip: Option<Rect>,
}Fields§
§node_id: NodeId§rect: Rect§text: AnnotatedString§text_style: TextStyle§font_size: f32§layout_options: TextLayoutOptions§clip: Option<Rect>Trait Implementations§
Source§impl Clone for TextPrimitiveNode
impl Clone for TextPrimitiveNode
Source§fn clone(&self) -> TextPrimitiveNode
fn clone(&self) -> TextPrimitiveNode
Returns a duplicate of the value. Read more
1.0.0 · 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 TextPrimitiveNode
impl Debug for TextPrimitiveNode
Source§impl PartialEq for TextPrimitiveNode
impl PartialEq for TextPrimitiveNode
impl StructuralPartialEq for TextPrimitiveNode
Auto Trait Implementations§
impl Freeze for TextPrimitiveNode
impl !RefUnwindSafe for TextPrimitiveNode
impl !Send for TextPrimitiveNode
impl !Sync for TextPrimitiveNode
impl Unpin for TextPrimitiveNode
impl UnsafeUnpin for TextPrimitiveNode
impl !UnwindSafe for TextPrimitiveNode
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