Struct libhelium_sys::HeScheme

source ·
#[repr(C)]
pub struct HeScheme {
Show 32 fields pub surface_bg_hex: *mut c_char, pub surface_bg_variant_hex: *mut c_char, pub surface_fg_hex: *mut c_char, pub surface_fg_variant_hex: *mut c_char, pub inverse_surface_bg_hex: *mut c_char, pub inverse_surface_fg_hex: *mut c_char, pub surface_bright_bg_hex: *mut c_char, pub surface_dim_bg_hex: *mut c_char, pub surface_container_lowest_bg_hex: *mut c_char, pub surface_container_low_bg_hex: *mut c_char, pub surface_container_bg_hex: *mut c_char, pub surface_container_high_bg_hex: *mut c_char, pub surface_container_highest_bg_hex: *mut c_char, pub primary_hex: *mut c_char, pub on_primary_hex: *mut c_char, pub primary_container_hex: *mut c_char, pub on_primary_container_hex: *mut c_char, pub inverse_primary_hex: *mut c_char, pub error_hex: *mut c_char, pub on_error_hex: *mut c_char, pub secondary_hex: *mut c_char, pub on_secondary_hex: *mut c_char, pub secondary_container_hex: *mut c_char, pub on_secondary_container_hex: *mut c_char, pub tertiary_hex: *mut c_char, pub on_tertiary_hex: *mut c_char, pub tertiary_container_hex: *mut c_char, pub on_tertiary_container_hex: *mut c_char, pub outline_hex: *mut c_char, pub outline_variant_hex: *mut c_char, pub shadow_hex: *mut c_char, pub scrim_hex: *mut c_char,
}

Fields§

§surface_bg_hex: *mut c_char§surface_bg_variant_hex: *mut c_char§surface_fg_hex: *mut c_char§surface_fg_variant_hex: *mut c_char§inverse_surface_bg_hex: *mut c_char§inverse_surface_fg_hex: *mut c_char§surface_bright_bg_hex: *mut c_char§surface_dim_bg_hex: *mut c_char§surface_container_lowest_bg_hex: *mut c_char§surface_container_low_bg_hex: *mut c_char§surface_container_bg_hex: *mut c_char§surface_container_high_bg_hex: *mut c_char§surface_container_highest_bg_hex: *mut c_char§primary_hex: *mut c_char§on_primary_hex: *mut c_char§primary_container_hex: *mut c_char§on_primary_container_hex: *mut c_char§inverse_primary_hex: *mut c_char§error_hex: *mut c_char§on_error_hex: *mut c_char§secondary_hex: *mut c_char§on_secondary_hex: *mut c_char§secondary_container_hex: *mut c_char§on_secondary_container_hex: *mut c_char§tertiary_hex: *mut c_char§on_tertiary_hex: *mut c_char§tertiary_container_hex: *mut c_char§on_tertiary_container_hex: *mut c_char§outline_hex: *mut c_char§outline_variant_hex: *mut c_char§shadow_hex: *mut c_char§scrim_hex: *mut c_char

Trait Implementations§

source§

impl Clone for HeScheme

source§

fn clone(&self) -> HeScheme

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for HeScheme

source§

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

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

impl Copy for HeScheme

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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

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> ToOwned for T
where T: Clone,

§

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>,

§

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>,

§

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.