pub struct SemanticStyle {
pub foreground: Rgba,
pub background: Option<Rgba>,
pub emphasized: bool,
}Expand description
Renderer-neutral visual result for one semantic component state.
Fields§
§foreground: Rgba§background: Option<Rgba>§emphasized: boolTrait Implementations§
Source§impl Clone for SemanticStyle
impl Clone for SemanticStyle
Source§fn clone(&self) -> SemanticStyle
fn clone(&self) -> SemanticStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemanticStyle
Source§impl Debug for SemanticStyle
impl Debug for SemanticStyle
impl Eq for SemanticStyle
Source§impl PartialEq for SemanticStyle
impl PartialEq for SemanticStyle
impl StructuralPartialEq for SemanticStyle
Auto Trait Implementations§
impl Freeze for SemanticStyle
impl RefUnwindSafe for SemanticStyle
impl Send for SemanticStyle
impl Sync for SemanticStyle
impl Unpin for SemanticStyle
impl UnsafeUnpin for SemanticStyle
impl UnwindSafe for SemanticStyle
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