pub type Layer = u8;
Expand description
An identifier for a rendering layer.
Trait Implementations§
source§impl BoundedMeasure for u8
impl BoundedMeasure for u8
source§impl<'de> Deserialize<'de> for u8
impl<'de> Deserialize<'de> for u8
source§fn deserialize<D>(
deserializer: D
) -> Result<u8, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<u8, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
§impl FromReflect for u8
impl FromReflect for u8
§fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<u8>
fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<u8>
Self
from a reflected value.§impl GetTypeRegistration for u8
impl GetTypeRegistration for u8
source§impl<'de, E> IntoDeserializer<'de, E> for u8where
E: Error,
impl<'de, E> IntoDeserializer<'de, E> for u8where E: Error,
§type Deserializer = U8Deserializer<E>
type Deserializer = U8Deserializer<E>
source§fn into_deserializer(self) -> U8Deserializer<E>
fn into_deserializer(self) -> U8Deserializer<E>
§impl Reflect for u8
impl Reflect for u8
§fn get_represented_type_info(&self) -> Option<&'static TypeInfo>
fn get_represented_type_info(&self) -> Option<&'static TypeInfo>
§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut dyn Any
.§fn into_reflect(self: Box<u8, Global>) -> Box<dyn Reflect, Global>
fn into_reflect(self: Box<u8, Global>) -> Box<dyn Reflect, Global>
§fn as_reflect(&self) -> &(dyn Reflect + 'static)
fn as_reflect(&self) -> &(dyn Reflect + 'static)
§fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)
fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)
§fn clone_value(&self) -> Box<dyn Reflect, Global>
fn clone_value(&self) -> Box<dyn Reflect, Global>
Reflect
trait object. Read more§fn apply(&mut self, value: &(dyn Reflect + 'static))
fn apply(&mut self, value: &(dyn Reflect + 'static))
§fn set(
&mut self,
value: Box<dyn Reflect, Global>
) -> Result<(), Box<dyn Reflect, Global>>
fn set( &mut self, value: Box<dyn Reflect, Global> ) -> Result<(), Box<dyn Reflect, Global>>
§fn reflect_ref(&self) -> ReflectRef<'_>
fn reflect_ref(&self) -> ReflectRef<'_>
§fn reflect_mut(&mut self) -> ReflectMut<'_>
fn reflect_mut(&mut self) -> ReflectMut<'_>
§fn reflect_owned(self: Box<u8, Global>) -> ReflectOwned
fn reflect_owned(self: Box<u8, Global>) -> ReflectOwned
§fn reflect_hash(&self) -> Option<u64>
fn reflect_hash(&self) -> Option<u64>
§fn reflect_partial_eq(&self, value: &(dyn Reflect + 'static)) -> Option<bool>
fn reflect_partial_eq(&self, value: &(dyn Reflect + 'static)) -> Option<bool>
§fn debug(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn debug(&self, f: &mut Formatter<'_>) -> Result<(), Error>
§fn serializable(&self) -> Option<Serializable<'_>>
fn serializable(&self) -> Option<Serializable<'_>>
§fn is_dynamic(&self) -> bool
fn is_dynamic(&self) -> bool
§impl Sample for u8
impl Sample for u8
§type Signed = i8
type Signed = i8
Addition
type represents the format to
which Self
should be converted for optimal Addition
performance. Read more§type Float = f32
type Float = f32
Multiplication
type
represents the format to which Self
should be converted for optimal Multiplication
performance. Read more§const EQUILIBRIUM: u8 = 128u8
const EQUILIBRIUM: u8 = 128u8
Sample
type represents. This is normally the
value that is equal distance from both the min and max ranges of the sample. Read more§const IDENTITY: Self::Float = <Self::Float as FloatSample>::IDENTITY
const IDENTITY: Self::Float = <Self::Float as FloatSample>::IDENTITY
§fn from_sample<S>(s: S) -> Selfwhere
Self: FromSample<S>,
fn from_sample<S>(s: S) -> Selfwhere Self: FromSample<S>,
§fn to_signed_sample(self) -> Self::Signed
fn to_signed_sample(self) -> Self::Signed
§fn to_float_sample(self) -> Self::Float
fn to_float_sample(self) -> Self::Float
source§impl Serialize for u8
impl Serialize for u8
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
§impl SparseSetIndex for u8
impl SparseSetIndex for u8
§fn sparse_set_index(&self) -> usize
fn sparse_set_index(&self) -> usize
§fn get_sparse_set_index(value: usize) -> u8
fn get_sparse_set_index(value: usize) -> u8
§impl SrgbColorSpace for u8
impl SrgbColorSpace for u8
fn linear_to_nonlinear_srgb(self) -> u8
fn nonlinear_to_linear_srgb(self) -> u8
1.59.0 · source§impl TryFrom<char> for u8
impl TryFrom<char> for u8
Maps a char
with code point in U+0000..=U+00FF to a byte in 0x00..=0xFF with same value,
failing if the code point is greater than U+00FF.
See impl From<u8> for char
for details on the encoding.
1.34.0 · source§impl TryFrom<i128> for u8
impl TryFrom<i128> for u8
source§fn try_from(u: i128) -> Result<u8, <u8 as TryFrom<i128>>::Error>
fn try_from(u: i128) -> Result<u8, <u8 as TryFrom<i128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i16> for u8
impl TryFrom<i16> for u8
source§fn try_from(u: i16) -> Result<u8, <u8 as TryFrom<i16>>::Error>
fn try_from(u: i16) -> Result<u8, <u8 as TryFrom<i16>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i32> for u8
impl TryFrom<i32> for u8
source§fn try_from(u: i32) -> Result<u8, <u8 as TryFrom<i32>>::Error>
fn try_from(u: i32) -> Result<u8, <u8 as TryFrom<i32>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i64> for u8
impl TryFrom<i64> for u8
source§fn try_from(u: i64) -> Result<u8, <u8 as TryFrom<i64>>::Error>
fn try_from(u: i64) -> Result<u8, <u8 as TryFrom<i64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<isize> for u8
impl TryFrom<isize> for u8
source§fn try_from(u: isize) -> Result<u8, <u8 as TryFrom<isize>>::Error>
fn try_from(u: isize) -> Result<u8, <u8 as TryFrom<isize>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u128> for u8
impl TryFrom<u128> for u8
source§fn try_from(u: u128) -> Result<u8, <u8 as TryFrom<u128>>::Error>
fn try_from(u: u128) -> Result<u8, <u8 as TryFrom<u128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u16> for u8
impl TryFrom<u16> for u8
source§fn try_from(u: u16) -> Result<u8, <u8 as TryFrom<u16>>::Error>
fn try_from(u: u16) -> Result<u8, <u8 as TryFrom<u16>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u32> for u8
impl TryFrom<u32> for u8
source§fn try_from(u: u32) -> Result<u8, <u8 as TryFrom<u32>>::Error>
fn try_from(u: u32) -> Result<u8, <u8 as TryFrom<u32>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u64> for u8
impl TryFrom<u64> for u8
source§fn try_from(u: u64) -> Result<u8, <u8 as TryFrom<u64>>::Error>
fn try_from(u: u64) -> Result<u8, <u8 as TryFrom<u64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<usize> for u8
impl TryFrom<usize> for u8
source§fn try_from(u: usize) -> Result<u8, <u8 as TryFrom<usize>>::Error>
fn try_from(u: usize) -> Result<u8, <u8 as TryFrom<usize>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.