Struct stm32_metapac::jpeg::regs::JpegConfr1
#[repr(transparent)]pub struct JpegConfr1(pub u32);
Expand description
JPEG codec configuration register 1
Tuple Fields§
§0: u32
Implementations§
§impl JpegConfr1
impl JpegConfr1
pub const fn colorspace(&self) -> u8
pub const fn colorspace(&self) -> u8
Color Space
pub fn set_colorspace(&mut self, val: u8)
pub fn set_colorspace(&mut self, val: u8)
Color Space
Trait Implementations§
§impl Clone for JpegConfr1
impl Clone for JpegConfr1
§fn clone(&self) -> JpegConfr1
fn clone(&self) -> JpegConfr1
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 more§impl Default for JpegConfr1
impl Default for JpegConfr1
§fn default() -> JpegConfr1
fn default() -> JpegConfr1
Returns the “default value” for a type. Read more
§impl PartialEq for JpegConfr1
impl PartialEq for JpegConfr1
§fn eq(&self, other: &JpegConfr1) -> bool
fn eq(&self, other: &JpegConfr1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JpegConfr1
impl Eq for JpegConfr1
impl StructuralEq for JpegConfr1
impl StructuralPartialEq for JpegConfr1
Auto Trait Implementations§
impl RefUnwindSafe for JpegConfr1
impl Send for JpegConfr1
impl Sync for JpegConfr1
impl Unpin for JpegConfr1
impl UnwindSafe for JpegConfr1
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