pub enum UpdateRule {
Preserve,
WriteAsOnes,
WriteAsZeros,
}
Expand description
Indicates what to do with unused bits when writing a field.
Variants§
Trait Implementations§
Source§impl Clone for UpdateRule
impl Clone for UpdateRule
Source§fn clone(&self) -> UpdateRule
fn clone(&self) -> UpdateRule
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 moreSource§impl Debug for UpdateRule
impl Debug for UpdateRule
Source§impl PartialEq for UpdateRule
impl PartialEq for UpdateRule
Source§impl TryFrom<u8> for UpdateRule
See grammar of FieldFlags
.
impl TryFrom<u8> for UpdateRule
See grammar of FieldFlags
.
UpdateRule
does not implement Parser because it is part of a bitfield.
impl Copy for UpdateRule
impl Eq for UpdateRule
impl StructuralPartialEq for UpdateRule
Auto Trait Implementations§
impl Freeze for UpdateRule
impl RefUnwindSafe for UpdateRule
impl Send for UpdateRule
impl Sync for UpdateRule
impl Unpin for UpdateRule
impl UnwindSafe for UpdateRule
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