Enum SoftrstSoftrst
#[repr(u8)]pub enum SoftrstSoftrst {
NORMAL = 0,
KEY = 1,
}
Variants§
Implementations§
§impl SoftrstSoftrst
impl SoftrstSoftrst
pub const fn from_bits(val: u8) -> SoftrstSoftrst
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SoftrstSoftrst
impl Clone for SoftrstSoftrst
§fn clone(&self) -> SoftrstSoftrst
fn clone(&self) -> SoftrstSoftrst
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<u8> for SoftrstSoftrst
impl From<u8> for SoftrstSoftrst
§fn from(val: u8) -> SoftrstSoftrst
fn from(val: u8) -> SoftrstSoftrst
Converts to this type from the input type.
§impl Ord for SoftrstSoftrst
impl Ord for SoftrstSoftrst
§impl PartialEq for SoftrstSoftrst
impl PartialEq for SoftrstSoftrst
§impl PartialOrd for SoftrstSoftrst
impl PartialOrd for SoftrstSoftrst
impl Copy for SoftrstSoftrst
impl Eq for SoftrstSoftrst
impl StructuralPartialEq for SoftrstSoftrst
Auto Trait Implementations§
impl Freeze for SoftrstSoftrst
impl RefUnwindSafe for SoftrstSoftrst
impl Send for SoftrstSoftrst
impl Sync for SoftrstSoftrst
impl Unpin for SoftrstSoftrst
impl UnwindSafe for SoftrstSoftrst
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)