pub enum TextEffect {
None,
Wavy,
Shaky,
Rainbow,
Color(u8),
}Variants§
None
No effects.
Wavy
{wvy} text in tags waves up and down.
Shaky
{shk} text in tags shakes constantly.
Rainbow
{rbw} text in tags is rainbow colored.
Color(u8)
{clr} use a palette color for dialog text.
Trait Implementations§
Source§impl Clone for TextEffect
impl Clone for TextEffect
Source§fn clone(&self) -> TextEffect
fn clone(&self) -> TextEffect
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 TextEffect
impl Debug for TextEffect
Source§impl Default for TextEffect
impl Default for TextEffect
Source§fn default() -> TextEffect
fn default() -> TextEffect
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextEffect
impl PartialEq for TextEffect
impl Copy for TextEffect
impl StructuralPartialEq for TextEffect
Auto Trait Implementations§
impl Freeze for TextEffect
impl RefUnwindSafe for TextEffect
impl Send for TextEffect
impl Sync for TextEffect
impl Unpin for TextEffect
impl UnwindSafe for TextEffect
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