pub struct Text<'a> {
pub text: Cow<'a, CStr>,
pub pos: Option<Point<i32>>,
pub color: Option<PaletteIdx>,
pub fixed: bool,
pub scale: Option<u32>,
pub small_font: bool,
}
Fields§
§text: Cow<'a, CStr>
§pos: Option<Point<i32>>
§color: Option<PaletteIdx>
§fixed: bool
§scale: Option<u32>
§small_font: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Text<'a>
impl<'a> Send for Text<'a>
impl<'a> Sync for Text<'a>
impl<'a> Unpin for Text<'a>
impl<'a> UnwindSafe for Text<'a>
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