Enum Setresethaltreq
#[repr(u8)]pub enum Setresethaltreq {
NoOperation = 0,
Clear = 1,
}Variants§
Implementations§
§impl Setresethaltreq
impl Setresethaltreq
pub const fn from_bits(val: u8) -> Setresethaltreq
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Setresethaltreq
impl Clone for Setresethaltreq
§fn clone(&self) -> Setresethaltreq
fn clone(&self) -> Setresethaltreq
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 moreimpl Copy for Setresethaltreq
§impl Debug for Setresethaltreq
impl Debug for Setresethaltreq
impl Eq for Setresethaltreq
§impl From<u8> for Setresethaltreq
impl From<u8> for Setresethaltreq
§fn from(val: u8) -> Setresethaltreq
fn from(val: u8) -> Setresethaltreq
Converts to this type from the input type.
§impl Ord for Setresethaltreq
impl Ord for Setresethaltreq
§fn cmp(&self, other: &Setresethaltreq) -> Ordering
fn cmp(&self, other: &Setresethaltreq) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Setresethaltreq
impl PartialEq for Setresethaltreq
§impl PartialOrd for Setresethaltreq
impl PartialOrd for Setresethaltreq
impl StructuralPartialEq for Setresethaltreq
Auto Trait Implementations§
impl Freeze for Setresethaltreq
impl RefUnwindSafe for Setresethaltreq
impl Send for Setresethaltreq
impl Sync for Setresethaltreq
impl Unpin for Setresethaltreq
impl UnsafeUnpin for Setresethaltreq
impl UnwindSafe for Setresethaltreq
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