pub struct ContrastResult {
pub theme_name: String,
pub variant: String,
pub pair: String,
pub bg_hex: String,
pub fg_hex: String,
pub ratio: f64,
pub grade: String,
pub pass: bool,
}Fields§
§theme_name: String§variant: String§pair: String§bg_hex: String§fg_hex: String§ratio: f64§grade: String§pass: boolAuto Trait Implementations§
impl Freeze for ContrastResult
impl RefUnwindSafe for ContrastResult
impl Send for ContrastResult
impl Sync for ContrastResult
impl Unpin for ContrastResult
impl UnwindSafe for ContrastResult
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