Skip to main content

Presets

Enum Presets 

Source
pub enum Presets {
Show 181 variants MonoChrome, WarmLight, NightFade, SpringWarmth, JuicyPeach, YoungPassion, LadyLips, SunnyMorning, RainyAshville, FrozenDreams, WinterNeva, DustyGrass, TemptingAzure, HeavyRain, AmyCrisp, MeanFruit, DeepBlue, RipeMalinka, CloudyKnoxville, MalibuBeach, NewLife, TrueSunset, MorpheusDen, RareWind, NearMoon, WildApple, SaintPetersburg, AriellesSmile, PlumPlate, EverlastingSky, HappyFisher, Blessing, SharpeyeEagle, LadogaBottom, LemonGate, ItmeoBranding, ZeusMiracle, OldHat, StarWine, DeepBlue2, CoupDeGrace, HappyAcid, AwesomePine, NewYork, ShyRainbow, LoonCrest, MixedHopes, FlyHigh, StrongBliss, FreshMilk, SnowAgain, FebruaryInk, KindSteel, SoftGrass, GrownEarly, SharpBlues, ShadyWater, DirtyBeauty, GreatWhale, TeenNotebook, PoliteRumors, SweetPeriod, WideMatrix, SoftCherish, RedSalvation, BurningSpring, NightParty, SkyGlider, HeavenPeach, PurpleDivision, AquaSplash, AboveClouds, SpikyNaga, LoveKiss, SharpGrass, CleanMirror, PremiumDark, ColdEvening, CochitiLake, SummerGames, PassionateBed, MountainRock, DesertHump, JungleDay, PhoenixStart, OctoberSilence, FarawayRiver, AlchemistLab, OverSun, PremiumWhite, MarsParty, EternalConstance, JapanBlush, SmilingRain, CloudyApple, BigMango, HealthyWater, AmourAmour, RiskyConcrete, StrongStick, ViciousStance, PaloAlto, HappyMemories, MidnightBloom, Crystalline, RaccoonBack, PartyBliss, ConfidentCloud, LeCocktail, RiverCity, FrozenBerry, Elegance, ChildCare, FlyingLemon, NewRetrowave, HiddenJaguar, AboveTheSky, Nega, DenseWater, ChemicAqua, Seashore, MarbleWall, CheerfulCaramel, NightSky, MagicLake, YoungGrass, ColorfulPeach, GentleCare, PlumBath, HappyUnicorn, FullMetal, AfricanField, SolidStone, OrangeJuice, GlassWater, SlickCarbon, NorthMiracle, FruitBlend, MillenniumPine, HighFlight, MoleHall, EarlGray, SpaceShift, ForestInei, RoyalGarden, RichMetal, JuicyCake, SmartIndigo, SandStrike, NorseBeauty, AquaGuidance, SunVeggie, SeaLord, BlackSea, GrassShampoo, LandingAircraft, WitchDance, SleeplessNight, AngelCare, CrystalRiver, SoftLipstick, SaltMountain, PerfectWhite, FreshOasis, StrictNovember, MorningSalad, DeepRelief, SeaStrike, NightCall, SupremeSky, LightBlue, MindCrawl, LilyMeadow, SugarLollipop, SweetDessert, MagicRay, TeenParty, FrozenHeat, GagarinView, FabledSunset, PerfectBlue,
}
Expand description

A collection of presets ported from the webgradients.com. These are also present in the Qt framework.

Variants§

§

MonoChrome

Uses the MonoChrome preset gradient.

§

WarmLight

Uses the WarmLight preset gradient.

§

NightFade

Uses the NightFade preset gradient.

§

SpringWarmth

Uses the SpringWarmth preset gradient.

§

JuicyPeach

Uses the JuicyPeach preset gradient.

§

YoungPassion

Uses the YoungPassion preset gradient.

§

LadyLips

Uses the LadyLips preset gradient.

§

SunnyMorning

Uses the SunnyMorning preset gradient.

§

RainyAshville

Uses the RainyAshville preset gradient.

§

FrozenDreams

Uses the FrozenDreams preset gradient.

§

WinterNeva

Uses the WinterNeva preset gradient.

§

DustyGrass

Uses the DustyGrass preset gradient.

§

TemptingAzure

Uses the TemptingAzure preset gradient.

§

HeavyRain

Uses the HeavyRain preset gradient.

§

AmyCrisp

Uses the AmyCrisp preset gradient.

§

MeanFruit

Uses the MeanFruit preset gradient.

§

DeepBlue

Uses the DeepBlue preset gradient.

§

RipeMalinka

Uses the RipeMalinka preset gradient.

§

CloudyKnoxville

Uses the CloudyKnoxville preset gradient.

§

MalibuBeach

Uses the MalibuBeach preset gradient.

§

NewLife

Uses the NewLife preset gradient.

§

TrueSunset

Uses the TrueSunset preset gradient.

§

MorpheusDen

Uses the MorpheusDen preset gradient.

§

RareWind

Uses the RareWind preset gradient.

§

NearMoon

Uses the NearMoon preset gradient.

§

WildApple

Uses the WildApple preset gradient.

§

SaintPetersburg

Uses the SaintPetersburg preset gradient.

§

AriellesSmile

Uses the AriellesSmile preset gradient.

§

PlumPlate

Uses the PlumPlate preset gradient.

§

EverlastingSky

Uses the EverlastingSky preset gradient.

§

HappyFisher

Uses the HappyFisher preset gradient.

§

Blessing

Uses the Blessing preset gradient.

§

SharpeyeEagle

Uses the SharpeyeEagle preset gradient.

§

LadogaBottom

Uses the LadogaBottom preset gradient.

§

LemonGate

Uses the LemonGate preset gradient.

§

ItmeoBranding

Uses the ItmeoBranding preset gradient.

§

ZeusMiracle

Uses the ZeusMiracle preset gradient.

§

OldHat

Uses the OldHat preset gradient.

§

StarWine

Uses the StarWine preset gradient.

§

DeepBlue2

Uses the DeepBlue2 preset gradient.

§

CoupDeGrace

Uses the CoupDeGrace preset gradient.

§

HappyAcid

Uses the HappyAcid preset gradient.

§

AwesomePine

Uses the AwesomePine preset gradient.

§

NewYork

Uses the NewYork preset gradient.

§

ShyRainbow

Uses the ShyRainbow preset gradient.

§

LoonCrest

Uses the LoonCrest preset gradient.

§

MixedHopes

Uses the MixedHopes preset gradient.

§

FlyHigh

Uses the FlyHigh preset gradient.

§

StrongBliss

Uses the StrongBliss preset gradient.

§

FreshMilk

Uses the FreshMilk preset gradient.

§

SnowAgain

Uses the SnowAgain preset gradient.

§

FebruaryInk

Uses the FebruaryInk preset gradient.

§

KindSteel

Uses the KindSteel preset gradient.

§

SoftGrass

Uses the SoftGrass preset gradient.

§

GrownEarly

Uses the GrownEarly preset gradient.

§

SharpBlues

Uses the SharpBlues preset gradient.

§

ShadyWater

Uses the ShadyWater preset gradient.

§

DirtyBeauty

Uses the DirtyBeauty preset gradient.

§

GreatWhale

Uses the GreatWhale preset gradient.

§

TeenNotebook

Uses the TeenNotebook preset gradient.

§

PoliteRumors

Uses the PoliteRumors preset gradient.

§

SweetPeriod

Uses the SweetPeriod preset gradient.

§

WideMatrix

Uses the WideMatrix preset gradient.

§

SoftCherish

Uses the SoftCherish preset gradient.

§

RedSalvation

Uses the RedSalvation preset gradient.

§

BurningSpring

Uses the BurningSpring preset gradient.

§

NightParty

Uses the NightParty preset gradient.

§

SkyGlider

Uses the SkyGlider preset gradient.

§

HeavenPeach

Uses the HeavenPeach preset gradient.

§

PurpleDivision

Uses the PurpleDivision preset gradient.

§

AquaSplash

Uses the AquaSplash preset gradient.

§

AboveClouds

Uses the AboveClouds preset gradient.

§

SpikyNaga

Uses the SpikyNaga preset gradient.

§

LoveKiss

Uses the LoveKiss preset gradient.

§

SharpGrass

Uses the SharpGrass preset gradient.

§

CleanMirror

Uses the CleanMirror preset gradient.

§

PremiumDark

Uses the PremiumDark preset gradient.

§

ColdEvening

Uses the ColdEvening preset gradient.

§

CochitiLake

Uses the CochitiLake preset gradient.

§

SummerGames

Uses the SummerGames preset gradient.

§

PassionateBed

Uses the PassionateBed preset gradient.

§

MountainRock

Uses the MountainRock preset gradient.

§

DesertHump

Uses the DesertHump preset gradient.

§

JungleDay

Uses the JungleDay preset gradient.

§

PhoenixStart

Uses the PhoenixStart preset gradient.

§

OctoberSilence

Uses the OctoberSilence preset gradient.

§

FarawayRiver

Uses the FarawayRiver preset gradient.

§

AlchemistLab

Uses the AlchemistLab preset gradient.

§

OverSun

Uses the OverSun preset gradient.

§

PremiumWhite

Uses the PremiumWhite preset gradient.

§

MarsParty

Uses the MarsParty preset gradient.

§

EternalConstance

Uses the EternalConstance preset gradient.

§

JapanBlush

Uses the JapanBlush preset gradient.

§

SmilingRain

Uses the SmilingRain preset gradient.

§

CloudyApple

Uses the CloudyApple preset gradient.

§

BigMango

Uses the BigMango preset gradient.

§

HealthyWater

Uses the HealthyWater preset gradient.

§

AmourAmour

Uses the AmourAmour preset gradient.

§

RiskyConcrete

Uses the RiskyConcrete preset gradient.

§

StrongStick

Uses the StrongStick preset gradient.

§

ViciousStance

Uses the ViciousStance preset gradient.

§

PaloAlto

Uses the PaloAlto preset gradient.

§

HappyMemories

Uses the HappyMemories preset gradient.

§

MidnightBloom

Uses the MidnightBloom preset gradient.

§

Crystalline

Uses the Crystalline preset gradient.

§

RaccoonBack

Uses the RaccoonBack preset gradient.

§

PartyBliss

Uses the PartyBliss preset gradient.

§

ConfidentCloud

Uses the ConfidentCloud preset gradient.

§

LeCocktail

Uses the LeCocktail preset gradient.

§

RiverCity

Uses the RiverCity preset gradient.

§

FrozenBerry

Uses the FrozenBerry preset gradient.

§

Elegance

Uses the Elegance preset gradient.

§

ChildCare

Uses the ChildCare preset gradient.

§

FlyingLemon

Uses the FlyingLemon preset gradient.

§

NewRetrowave

Uses the NewRetrowave preset gradient.

§

HiddenJaguar

Uses the HiddenJaguar preset gradient.

§

AboveTheSky

Uses the AboveTheSky preset gradient.

§

Nega

Uses the Nega preset gradient.

§

DenseWater

Uses the DenseWater preset gradient.

§

ChemicAqua

Uses the ChemicAqua preset gradient.

§

Seashore

Uses the Seashore preset gradient.

§

MarbleWall

Uses the MarbleWall preset gradient.

§

CheerfulCaramel

Uses the CheerfulCaramel preset gradient.

§

NightSky

Uses the NightSky preset gradient.

§

MagicLake

Uses the MagicLake preset gradient.

§

YoungGrass

Uses the YoungGrass preset gradient.

§

ColorfulPeach

Uses the ColorfulPeach preset gradient.

§

GentleCare

Uses the GentleCare preset gradient.

§

PlumBath

Uses the PlumBath preset gradient.

§

HappyUnicorn

Uses the HappyUnicorn preset gradient.

§

FullMetal

Uses the FullMetal preset gradient.

§

AfricanField

Uses the AfricanField preset gradient.

§

SolidStone

Uses the SolidStone preset gradient.

§

OrangeJuice

Uses the OrangeJuice preset gradient.

§

GlassWater

Uses the GlassWater preset gradient.

§

SlickCarbon

Uses the SlickCarbon preset gradient.

§

NorthMiracle

Uses the NorthMiracle preset gradient.

§

FruitBlend

Uses the FruitBlend preset gradient.

§

MillenniumPine

Uses the MillenniumPine preset gradient.

§

HighFlight

Uses the HighFlight preset gradient.

§

MoleHall

Uses the MoleHall preset gradient.

§

EarlGray

Uses the EarlGray preset gradient.

§

SpaceShift

Uses the SpaceShift preset gradient.

§

ForestInei

Uses the ForestInei preset gradient.

§

RoyalGarden

Uses the RoyalGarden preset gradient.

§

RichMetal

Uses the RichMetal preset gradient.

§

JuicyCake

Uses the JuicyCake preset gradient.

§

SmartIndigo

Uses the SmartIndigo preset gradient.

§

SandStrike

Uses the SandStrike preset gradient.

§

NorseBeauty

Uses the NorseBeauty preset gradient.

§

AquaGuidance

Uses the AquaGuidance preset gradient.

§

SunVeggie

Uses the SunVeggie preset gradient.

§

SeaLord

Uses the SeaLord preset gradient.

§

BlackSea

Uses the BlackSea preset gradient.

§

GrassShampoo

Uses the GrassShampoo preset gradient.

§

LandingAircraft

Uses the LandingAircraft preset gradient.

§

WitchDance

Uses the WitchDance preset gradient.

§

SleeplessNight

Uses the SleeplessNight preset gradient.

§

AngelCare

Uses the AngelCare preset gradient.

§

CrystalRiver

Uses the CrystalRiver preset gradient.

§

SoftLipstick

Uses the SoftLipstick preset gradient.

§

SaltMountain

Uses the SaltMountain preset gradient.

§

PerfectWhite

Uses the PerfectWhite preset gradient.

§

FreshOasis

Uses the FreshOasis preset gradient.

§

StrictNovember

Uses the StrictNovember preset gradient.

§

MorningSalad

Uses the MorningSalad preset gradient.

§

DeepRelief

Uses the DeepRelief preset gradient.

§

SeaStrike

Uses the SeaStrike preset gradient.

§

NightCall

Uses the NightCall preset gradient.

§

SupremeSky

Uses the SupremeSky preset gradient.

§

LightBlue

Uses the LightBlue preset gradient.

§

MindCrawl

Uses the MindCrawl preset gradient.

§

LilyMeadow

Uses the LilyMeadow preset gradient.

§

SugarLollipop

Uses the SugarLollipop preset gradient.

§

SweetDessert

Uses the SweetDessert preset gradient.

§

MagicRay

Uses the MagicRay preset gradient.

§

TeenParty

Uses the TeenParty preset gradient.

§

FrozenHeat

Uses the FrozenHeat preset gradient.

§

GagarinView

Uses the GagarinView preset gradient.

§

FabledSunset

Uses the FabledSunset preset gradient.

§

PerfectBlue

Uses the PerfectBlue preset gradient.

Implementations§

Source§

impl Presets

Source

pub fn from_string(val: &str) -> Option<Presets>

Parses a preset name from its exact enum variant string.

Trait Implementations§

Source§

impl Clone for Presets

Source§

fn clone(&self) -> Presets

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Presets

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Presets

Source§

fn eq(&self, other: &Presets) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Presets

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,