pub struct ControlSnapshot {
pub size_hint: SizeSnapshot,
pub minimum_size_hint: SizeSnapshot,
pub font: FontSnapshot,
pub palette: PaletteSnapshot,
}Expand description
Resolved defaults for one representative Qt widget.
Fields§
§size_hint: SizeSnapshotPreferred size for representative content.
minimum_size_hint: SizeSnapshotMinimum preferred size for representative content.
font: FontSnapshotFont inherited by this widget after polishing.
palette: PaletteSnapshotWidget-specific palette after the active style has polished it.
Trait Implementations§
Source§impl Clone for ControlSnapshot
impl Clone for ControlSnapshot
Source§impl Debug for ControlSnapshot
impl Debug for ControlSnapshot
Source§impl<'de> Deserialize<'de> for ControlSnapshot
impl<'de> Deserialize<'de> for ControlSnapshot
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
Source§impl PartialEq for ControlSnapshot
impl PartialEq for ControlSnapshot
Source§impl Serialize for ControlSnapshot
impl Serialize for ControlSnapshot
impl StructuralPartialEq for ControlSnapshot
Auto Trait Implementations§
impl Freeze for ControlSnapshot
impl RefUnwindSafe for ControlSnapshot
impl Send for ControlSnapshot
impl Sync for ControlSnapshot
impl Unpin for ControlSnapshot
impl UnsafeUnpin for ControlSnapshot
impl UnwindSafe for ControlSnapshot
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