Struct easy_imgui::style::StylePtr
source · pub struct StylePtr<'a> { /* private fields */ }Implementations§
source§impl<'a> StylePtr<'a>
impl<'a> 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> RefUnwindSafe for StylePtr<'a>
impl<'a> Send for StylePtr<'a>
impl<'a> Sync for StylePtr<'a>
impl<'a> Unpin for StylePtr<'a>
impl<'a> !UnwindSafe for StylePtr<'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