#[non_exhaustive]pub struct HelpImage {
pub id: &'static str,
pub caption: &'static str,
pub media_type: &'static str,
pub bytes: &'static [u8],
}Expand description
A board-owned image compiled into the binary with include_bytes!.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: &'static str§caption: &'static str§media_type: &'static str§bytes: &'static [u8]Implementations§
Trait Implementations§
impl Copy for HelpImage
impl Eq for HelpImage
impl StructuralPartialEq for HelpImage
Auto Trait Implementations§
impl Forget for HelpImage
impl Freeze for HelpImage
impl Move for HelpImage
impl RefUnwindSafe for HelpImage
impl Send for HelpImage
impl Sync for HelpImage
impl Unpin for HelpImage
impl UnsafeUnpin for HelpImage
impl UnwindSafe for HelpImage
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