pub struct LookField {
pub key: String,
pub value: Value,
pub describe: String,
}Expand description
One setting of a window’s look.
Fields§
§key: StringIts key in crate::ServerMsg::SetLook (accent, corners, colour.app_bg, …).
value: ValueWhat it is now (a string, number or bool).
describe: StringWhat it is and what it may be, for the model.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LookField
impl<'de> Deserialize<'de> for LookField
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
impl StructuralPartialEq for LookField
Auto Trait Implementations§
impl Forget for LookField
impl Freeze for LookField
impl Move for LookField
impl RefUnwindSafe for LookField
impl Send for LookField
impl Sync for LookField
impl Unpin for LookField
impl UnsafeUnpin for LookField
impl UnwindSafe for LookField
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