Struct easy_imgui::style::StyleMut
source · pub struct StyleMut<'a>(/* private fields */);Expand description
Methods from Deref<Target = StylePtr<'a>>§
pub fn set_colors_light(&mut self)
pub fn set_colors_dark(&mut self)
pub fn set_colors_classic(&mut self)
pub fn color(&self, id: ColorId) -> Color
pub fn alpha(&self) -> f32
pub fn set_color(&mut self, id: ColorId, color: Color)
pub fn set_alpha(&mut self, alpha: f32)
pub fn color_alpha(&self, id: ColorId, alpha_mul: f32) -> Color
pub fn frame_padding(&self) -> Vector2
pub fn frame_rounding(&self) -> f32
pub fn frame_border_size(&self) -> f32
pub fn item_spacing(&self) -> Vector2
pub fn item_inner_spacing(&self) -> Vector2
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StyleMut<'a>
impl<'a> RefUnwindSafe for StyleMut<'a>
impl<'a> Send for StyleMut<'a>
impl<'a> Sync for StyleMut<'a>
impl<'a> Unpin for StyleMut<'a>
impl<'a> !UnwindSafe for StyleMut<'a>
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