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