pub enum HaTextElement<'a> {
Invalid,
NewLine,
Glyph {
character: char,
size: Scalar,
color: Rgba,
outline: Rgba,
thickness: Scalar,
cursive: Scalar,
wrapping: &'a HaTextWrapping,
},
}Variants§
Trait Implementations§
source§impl<'a> Clone for HaTextElement<'a>
impl<'a> Clone for HaTextElement<'a>
source§fn clone(&self) -> HaTextElement<'a>
fn clone(&self) -> HaTextElement<'a>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for HaTextElement<'a>
impl<'a> Send for HaTextElement<'a>
impl<'a> Sync for HaTextElement<'a>
impl<'a> Unpin for HaTextElement<'a>
impl<'a> UnwindSafe for HaTextElement<'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