pub struct TextBlock<P> {
pub origin: P,
pub width: u32,
}Expand description
The bounds of text.
Fields§
§origin: PThe upper-left corner.
width: u32Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for TextBlock<P>where
P: Freeze,
impl<P> RefUnwindSafe for TextBlock<P>where
P: RefUnwindSafe,
impl<P> Send for TextBlock<P>where
P: Send,
impl<P> Sync for TextBlock<P>where
P: Sync,
impl<P> Unpin for TextBlock<P>where
P: Unpin,
impl<P> UnwindSafe for TextBlock<P>where
P: UnwindSafe,
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