Struct kernel::common::regs::FieldValue
[−]
[src]
pub struct FieldValue<T: IntLike, R: RegisterLongName> { mask: T, value: T, associated_register: PhantomData<R>, }
Fields
mask: T
value: T
associated_register: PhantomData<R>
Methods
impl<R: RegisterLongName> FieldValue<u8, R>
[src]
impl<R: RegisterLongName> FieldValue<u16, R>
[src]
impl<R: RegisterLongName> FieldValue<u32, R>
[src]
Trait Implementations
impl<T: Copy + IntLike, R: Copy + RegisterLongName> Copy for FieldValue<T, R>
[src]
impl<T: Clone + IntLike, R: Clone + RegisterLongName> Clone for FieldValue<T, R>
[src]
fn clone(&self) -> FieldValue<T, R>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more