pub struct FrameVisuals {
pub bg: Color32,
pub bg_hover: Color32,
pub bg_click: Color32,
pub bg_selected: Color32,
pub border: Stroke,
pub border_hover: Stroke,
pub border_click: Stroke,
pub corner_radius: CornerRadius,
pub shadow: Shadow,
}Expand description
Visuals for Frame
Fields§
§bg: Color32§bg_hover: Color32§bg_click: Color32§bg_selected: Color32Fill when crate::widgets::Frame::selected is set.
border: Stroke§border_hover: Stroke§border_click: Stroke§corner_radius: CornerRadius§shadow: ShadowImplementations§
Source§impl FrameVisuals
impl FrameVisuals
Trait Implementations§
Source§impl Clone for FrameVisuals
impl Clone for FrameVisuals
impl Copy for FrameVisuals
Source§impl Debug for FrameVisuals
impl Debug for FrameVisuals
Source§impl Default for FrameVisuals
impl Default for FrameVisuals
impl Eq for FrameVisuals
Auto Trait Implementations§
impl Freeze for FrameVisuals
impl RefUnwindSafe for FrameVisuals
impl Send for FrameVisuals
impl Sync for FrameVisuals
impl Unpin for FrameVisuals
impl UnsafeUnpin for FrameVisuals
impl UnwindSafe for FrameVisuals
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more