pub enum EffectKind {
Show 37 variants
Beams,
BinaryPath,
Blackhole,
BouncyBalls,
Bubbles,
Burn,
ColorShift,
Crumble,
Decrypt,
ErrorCorrect,
Expand,
Fireworks,
Highlight,
LaserEtch,
Matrix,
MiddleOut,
OrbittingVolley,
Overflow,
Pour,
Print,
Rain,
RandomSequence,
Rings,
Scattered,
Slice,
Slide,
Smoke,
Spotlights,
Spray,
Swarm,
Sweep,
SynthGrid,
Thunderstorm,
Unstable,
VhsTape,
Waves,
Wipe,
}Expand description
Every built-in text effect command.
Variants§
Beams
BinaryPath
Blackhole
BouncyBalls
Bubbles
Burn
ColorShift
Crumble
Decrypt
ErrorCorrect
Expand
Fireworks
Highlight
LaserEtch
Matrix
MiddleOut
OrbittingVolley
Overflow
Pour
Rain
RandomSequence
Rings
Scattered
Slice
Slide
Smoke
Spotlights
Spray
Swarm
Sweep
SynthGrid
Thunderstorm
Unstable
VhsTape
Waves
Wipe
Implementations§
Source§impl EffectKind
impl EffectKind
pub const ALL: [EffectKind; 37]
pub fn all() -> &'static [EffectKind]
pub fn name(self) -> &'static str
Trait Implementations§
Source§impl Clone for EffectKind
impl Clone for EffectKind
Source§fn clone(&self) -> EffectKind
fn clone(&self) -> EffectKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EffectKind
Source§impl Debug for EffectKind
impl Debug for EffectKind
Source§impl Display for EffectKind
impl Display for EffectKind
impl Eq for EffectKind
Source§impl FromStr for EffectKind
impl FromStr for EffectKind
Source§type Err = UnknownEffectError
type Err = UnknownEffectError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<EffectKind, <EffectKind as FromStr>::Err>
fn from_str(input: &str) -> Result<EffectKind, <EffectKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for EffectKind
impl Hash for EffectKind
Source§impl PartialEq for EffectKind
impl PartialEq for EffectKind
Source§fn eq(&self, other: &EffectKind) -> bool
fn eq(&self, other: &EffectKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EffectKind
Auto Trait Implementations§
impl Freeze for EffectKind
impl RefUnwindSafe for EffectKind
impl Send for EffectKind
impl Sync for EffectKind
impl Unpin for EffectKind
impl UnsafeUnpin for EffectKind
impl UnwindSafe for EffectKind
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