pub struct RawButtonsInput<'a> { /* private fields */ }
Implementations§
Source§impl<'a> RawButtonsInput<'a>
impl<'a> RawButtonsInput<'a>
pub fn cursor(self, idx: usize) -> Self
pub fn disabled(self, idxs: &[usize]) -> Self
pub fn helps<I, S>(self, helps: I) -> Self
pub fn danger(self, idxs: &[usize]) -> Self
pub fn confirm_on_danger(self, yes: bool) -> Self
pub fn keymap(self, km: KeyMap) -> Self
pub fn get(self) -> Option<usize>
Auto Trait Implementations§
impl<'a> Freeze for RawButtonsInput<'a>
impl<'a> RefUnwindSafe for RawButtonsInput<'a>
impl<'a> Send for RawButtonsInput<'a>
impl<'a> Sync for RawButtonsInput<'a>
impl<'a> Unpin for RawButtonsInput<'a>
impl<'a> UnwindSafe for RawButtonsInput<'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