Enum Updatemode
#[repr(u8)]pub enum Updatemode {
ADD = 0,
SUBTRACT = 1,
}Variants§
Implementations§
§impl Updatemode
impl Updatemode
pub const fn from_bits(val: u8) -> Updatemode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Updatemode
impl Clone for Updatemode
§fn clone(&self) -> Updatemode
fn clone(&self) -> Updatemode
Returns a duplicate 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 Debug for Updatemode
impl Debug for Updatemode
§impl From<Updatemode> for u8
impl From<Updatemode> for u8
§fn from(val: Updatemode) -> u8
fn from(val: Updatemode) -> u8
Converts to this type from the input type.
§impl From<u8> for Updatemode
impl From<u8> for Updatemode
§fn from(val: u8) -> Updatemode
fn from(val: u8) -> Updatemode
Converts to this type from the input type.
§impl Ord for Updatemode
impl Ord for Updatemode
§impl PartialEq for Updatemode
impl PartialEq for Updatemode
§impl PartialOrd for Updatemode
impl PartialOrd for Updatemode
impl Copy for Updatemode
impl Eq for Updatemode
impl StructuralPartialEq for Updatemode
Auto Trait Implementations§
impl Freeze for Updatemode
impl RefUnwindSafe for Updatemode
impl Send for Updatemode
impl Sync for Updatemode
impl Unpin for Updatemode
impl UnwindSafe for Updatemode
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