#[repr(transparent)]pub struct GrayCodeLsb(pub u32);Expand description
Gray to Binary Converter Gray code_gray[31:0]
Tuple Fields§
§0: u32Implementations§
Source§impl GrayCodeLsb
impl GrayCodeLsb
Sourcepub const fn code_gray_31_0(&self) -> u32
pub const fn code_gray_31_0(&self) -> u32
Gray code [31:0]
Sourcepub const fn set_code_gray_31_0(&mut self, val: u32)
pub const fn set_code_gray_31_0(&mut self, val: u32)
Gray code [31:0]
Trait Implementations§
Source§impl Clone for GrayCodeLsb
impl Clone for GrayCodeLsb
Source§fn clone(&self) -> GrayCodeLsb
fn clone(&self) -> GrayCodeLsb
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 GrayCodeLsb
impl Debug for GrayCodeLsb
Source§impl Default for GrayCodeLsb
impl Default for GrayCodeLsb
Source§fn default() -> GrayCodeLsb
fn default() -> GrayCodeLsb
Returns the “default value” for a type. Read more
Source§impl PartialEq for GrayCodeLsb
impl PartialEq for GrayCodeLsb
impl Copy for GrayCodeLsb
impl Eq for GrayCodeLsb
impl StructuralPartialEq for GrayCodeLsb
Auto Trait Implementations§
impl Freeze for GrayCodeLsb
impl RefUnwindSafe for GrayCodeLsb
impl Send for GrayCodeLsb
impl Sync for GrayCodeLsb
impl Unpin for GrayCodeLsb
impl UnwindSafe for GrayCodeLsb
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