Struct imgui::ImageButton [−][src]
pub struct ImageButton { /* fields omitted */ }
Expand description
Builder for an image button widget
Implementations
Creates a new image button builder with the given texture and size
Sets the frame padding (default: uses frame padding from style).
< 0
: uses frame padding from style (default)= 0
: no framing> 0
: set framing size
Sets the background color (default: no background color)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageButton
impl Send for ImageButton
impl Sync for ImageButton
impl Unpin for ImageButton
impl UnwindSafe for ImageButton
Blanket Implementations
Mutably borrows from an owned value. Read more