#[non_exhaustive]pub enum TmdsConfigWrite {
ReadModifyWrite,
WholeByte,
}Expand description
How TMDS_Config is written.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReadModifyWrite
Read the byte, set the two bits, write it back with the other bits as read
(TmdsScdc::update_tmds_config; the default).
WholeByte
Write the whole byte, the other bits 0
(TmdsScdc::write_tmds_config).
Trait Implementations§
Source§impl Clone for TmdsConfigWrite
impl Clone for TmdsConfigWrite
Source§fn clone(&self) -> TmdsConfigWrite
fn clone(&self) -> TmdsConfigWrite
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 TmdsConfigWrite
Source§impl Debug for TmdsConfigWrite
impl Debug for TmdsConfigWrite
Source§impl Default for TmdsConfigWrite
impl Default for TmdsConfigWrite
Source§fn default() -> TmdsConfigWrite
fn default() -> TmdsConfigWrite
Returns the “default value” for a type. Read more
impl Eq for TmdsConfigWrite
Source§impl Hash for TmdsConfigWrite
impl Hash for TmdsConfigWrite
Source§impl PartialEq for TmdsConfigWrite
impl PartialEq for TmdsConfigWrite
impl StructuralPartialEq for TmdsConfigWrite
Auto Trait Implementations§
impl Forget for TmdsConfigWrite
impl Freeze for TmdsConfigWrite
impl Move for TmdsConfigWrite
impl RefUnwindSafe for TmdsConfigWrite
impl Send for TmdsConfigWrite
impl Sync for TmdsConfigWrite
impl Unpin for TmdsConfigWrite
impl UnsafeUnpin for TmdsConfigWrite
impl UnwindSafe for TmdsConfigWrite
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