pub struct TintState {
pub required: u8,
pub forbidden: u8,
pub color: Color,
}Expand description
A ColorStateList entry: enabled, pressed, focused, selected, activated, hovered and checked are encoded in bits 0 through 6 respectively.
Fields§
§required: u8§forbidden: u8§color: ColorTrait Implementations§
Auto Trait Implementations§
impl Forget for TintState
impl Freeze for TintState
impl Move for TintState
impl RefUnwindSafe for TintState
impl Send for TintState
impl Sync for TintState
impl Unpin for TintState
impl UnsafeUnpin for TintState
impl UnwindSafe for TintState
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