Enum i_slint_core::items::StandardButtonKind
source · [−]#[repr(C)]
pub enum StandardButtonKind {
ok,
cancel,
apply,
close,
reset,
help,
yes,
no,
abort,
retry,
ignore,
}
Variants
ok
cancel
apply
close
reset
help
yes
no
abort
retry
ignore
Trait Implementations
sourceimpl Clone for StandardButtonKind
impl Clone for StandardButtonKind
sourcefn clone(&self) -> StandardButtonKind
fn clone(&self) -> StandardButtonKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StandardButtonKind
impl Debug for StandardButtonKind
sourceimpl Default for StandardButtonKind
impl Default for StandardButtonKind
sourceimpl Display for StandardButtonKind
impl Display for StandardButtonKind
sourceimpl FromStr for StandardButtonKind
impl FromStr for StandardButtonKind
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for StandardButtonKind
impl Hash for StandardButtonKind
sourceimpl TryFrom<&'_ str> for StandardButtonKind
impl TryFrom<&'_ str> for StandardButtonKind
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy for StandardButtonKind
impl Eq for StandardButtonKind
impl StructuralEq for StandardButtonKind
impl StructuralPartialEq for StandardButtonKind
Auto Trait Implementations
impl RefUnwindSafe for StandardButtonKind
impl Send for StandardButtonKind
impl Sync for StandardButtonKind
impl Unpin for StandardButtonKind
impl UnwindSafe for StandardButtonKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more