pub enum PostEffectType {
Phosphor,
Ssao,
NoEffect,
}
Expand description
Post effect type
Variants§
Trait Implementations§
source§impl Clone for PostEffectType
impl Clone for PostEffectType
source§fn clone(&self) -> PostEffectType
fn clone(&self) -> PostEffectType
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 moresource§impl Debug for PostEffectType
impl Debug for PostEffectType
source§impl Default for PostEffectType
impl Default for PostEffectType
source§fn default() -> PostEffectType
fn default() -> PostEffectType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PostEffectType
impl<'de> Deserialize<'de> for PostEffectType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for PostEffectType
impl Display for PostEffectType
source§impl ExternType for PostEffectType
impl ExternType for PostEffectType
source§impl<DB> FromSql<Text, DB> for PostEffectType
impl<DB> FromSql<Text, DB> for PostEffectType
source§impl FromStr for PostEffectType
impl FromStr for PostEffectType
source§impl JsonSchema for PostEffectType
impl JsonSchema for PostEffectType
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for PostEffectType
impl Ord for PostEffectType
source§fn cmp(&self, other: &PostEffectType) -> Ordering
fn cmp(&self, other: &PostEffectType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PostEffectType
impl PartialEq for PostEffectType
source§fn eq(&self, other: &PostEffectType) -> bool
fn eq(&self, other: &PostEffectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PostEffectType
impl PartialOrd for PostEffectType
source§fn partial_cmp(&self, other: &PostEffectType) -> Option<Ordering>
fn partial_cmp(&self, other: &PostEffectType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Sequence for PostEffectType
impl Sequence for PostEffectType
source§impl Serialize for PostEffectType
impl Serialize for PostEffectType
source§impl Value for PostEffectType
impl Value for PostEffectType
source§fn into_parts(self) -> Vec<Primitive>
fn into_parts(self) -> Vec<Primitive>
Store the value in memory.
source§fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
Read the value from memory.
impl Copy for PostEffectType
impl Eq for PostEffectType
impl StructuralPartialEq for PostEffectType
Auto Trait Implementations§
impl Freeze for PostEffectType
impl RefUnwindSafe for PostEffectType
impl Send for PostEffectType
impl Sync for PostEffectType
impl Unpin for PostEffectType
impl UnwindSafe for PostEffectType
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more