usecrate::Ui;usecrate::sys;implUi{/// Creates a bullet point
#[doc(alias ="Bullet")]pubfnbullet(&self){unsafe{sys::igBullet();}}/// Creates a bullet point with text
#[doc(alias ="BulletText")]pubfnbullet_text(&self, text: impl AsRef<str>){let text_ptr =self.scratch_txt(text);unsafe{// Always treat the value as unformatted user text.
constFMT:&[u8;3]=b"%s\0";sys::igBulletText(FMT.as_ptr()as*conststd::os::raw::c_char, text_ptr);}}}implUi{/// Creates a small button
#[doc(alias ="SmallButton")]pubfnsmall_button(&self, label: impl AsRef<str>)->bool{let label_ptr =self.scratch_txt(label);unsafe{sys::igSmallButton(label_ptr)}}}