#[repr(u8)]
pub enum Format {
Jpeg,
Rgb,
Yuv,
}
Expand description
The format in which the camera data should be formatted
You will most likely want to use Jpeg, as Rgb generates images that are much greater in
size than Jpeg, and could therefore data blobs that are too big for your MCU to handle.
Default. Offers a good mix between image quality and data size
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.