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, color.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 LookFieldwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for LookField
impl RefUnwindSafe for LookField
impl Send for LookField
impl Sync for LookField
impl Unpin for LookField
impl UnsafeUnpin for LookFieldwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
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