Enum android_manifest::ColorMode
source · pub enum ColorMode {
Hdr,
WideColorGamut,
}
Expand description
Requests the activity to be displayed in wide color gamut mode on compatible devices.
Variants§
Hdr
Indicating that the activity should use a high dynamic range if the presentation display supports it.
WideColorGamut
Indicating that the activity should use a wide color gamut if the presentation display supports it. To render wide color gamut content, your app must load a wide color bitmap, that is a bitmap with a color profile containing a color space wider than sRGB.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ColorMode
impl<'de> Deserialize<'de> for ColorMode
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 PartialEq<ColorMode> for ColorMode
impl PartialEq<ColorMode> for ColorMode
source§impl YaDeserialize for ColorMode
impl YaDeserialize for ColorMode
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
source§impl YaSerialize for ColorMode
impl YaSerialize for ColorMode
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl Eq for ColorMode
impl StructuralEq for ColorMode
impl StructuralPartialEq for ColorMode
Auto Trait Implementations§
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
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