#[repr(u32)]pub enum HistoryKind {
KeepLast = 0,
KeepAll = 1,
}Expand description
History-Kind.
Variants§
Implementations§
Source§impl HistoryKind
impl HistoryKind
Sourcepub const fn try_from_u32(v: u32) -> Option<HistoryKind>
pub const fn try_from_u32(v: u32) -> Option<HistoryKind>
Strikter Mapper.
Sourcepub const fn from_u32(v: u32) -> HistoryKind
pub const fn from_u32(v: u32) -> HistoryKind
Forward-kompatibler Mapper (unbekannt → KeepLast).
Trait Implementations§
Source§impl Clone for HistoryKind
impl Clone for HistoryKind
Source§fn clone(&self) -> HistoryKind
fn clone(&self) -> HistoryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HistoryKind
impl Debug for HistoryKind
Source§impl Default for HistoryKind
impl Default for HistoryKind
Source§fn default() -> HistoryKind
fn default() -> HistoryKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for HistoryKind
impl PartialEq for HistoryKind
Source§fn eq(&self, other: &HistoryKind) -> bool
fn eq(&self, other: &HistoryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HistoryKind
impl Eq for HistoryKind
impl StructuralPartialEq for HistoryKind
Auto Trait Implementations§
impl Freeze for HistoryKind
impl RefUnwindSafe for HistoryKind
impl Send for HistoryKind
impl Sync for HistoryKind
impl Unpin for HistoryKind
impl UnsafeUnpin for HistoryKind
impl UnwindSafe for HistoryKind
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