pub enum FieldPreference {
Field1,
Field2,
Both,
}Expand description
Field preference for VITC reading
Variants§
Field1
Read from field 1 only
Field2
Read from field 2 only
Both
Read from both fields (use first valid)
Trait Implementations§
Source§impl Clone for FieldPreference
impl Clone for FieldPreference
Source§fn clone(&self) -> FieldPreference
fn clone(&self) -> FieldPreference
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 moreSource§impl Debug for FieldPreference
impl Debug for FieldPreference
Source§impl PartialEq for FieldPreference
impl PartialEq for FieldPreference
impl Copy for FieldPreference
impl Eq for FieldPreference
impl StructuralPartialEq for FieldPreference
Auto Trait Implementations§
impl Freeze for FieldPreference
impl RefUnwindSafe for FieldPreference
impl Send for FieldPreference
impl Sync for FieldPreference
impl Unpin for FieldPreference
impl UnsafeUnpin for FieldPreference
impl UnwindSafe for FieldPreference
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