Expand description
A single line text element. This can be owned or borrowed string, dependents on
String
or str
moved into.
Implementations
Trait Implementations
sourceimpl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB, BackendCoordOnly> for Text<'a, Coord, T>
impl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB, BackendCoordOnly> for Text<'a, Coord, T>
sourceimpl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord, BackendCoordOnly> for &'a Text<'b, Coord, T>
impl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord, BackendCoordOnly> for &'a Text<'b, Coord, T>
Auto Trait Implementations
impl<'a, Coord, T> !RefUnwindSafe for Text<'a, Coord, T>
impl<'a, Coord, T> !Send for Text<'a, Coord, T>
impl<'a, Coord, T> !Sync for Text<'a, Coord, T>
impl<'a, Coord, T> Unpin for Text<'a, Coord, T> where
Coord: Unpin,
T: Unpin,
impl<'a, Coord, T> !UnwindSafe for Text<'a, Coord, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more