Enum sl4f_lib::scenic::types::ColorSpaceDef
source · pub enum ColorSpaceDef {
Srgb = 0,
}
Variants§
Srgb = 0
Implementations§
source§impl ColorSpaceDef
impl ColorSpaceDef
pub fn serialize<__S>(
__self: &ColorSpace,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> ColorSpaceDef
impl<'de> ColorSpaceDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<ColorSpace, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorSpaceDef
impl RefUnwindSafe for ColorSpaceDef
impl Send for ColorSpaceDef
impl Sync for ColorSpaceDef
impl Unpin for ColorSpaceDef
impl UnwindSafe for ColorSpaceDef
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
source§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
source§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoAny for T
impl<T> IntoAny for T
source§impl<T> OptionalField for Twhere
T: ?Sized,
impl<T> OptionalField for Twhere
T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.