pub struct Example {
pub crate_name: &'static str,
pub binary: &'static str,
pub dir: &'static str,
pub title: &'static str,
pub label: &'static str,
pub description: &'static str,
}Expand description
One example the site can show.
Fields§
§crate_name: &'static strThe binary crate the example lives in.
binary: &'static strThe binary wasm-bindgen reads and names its output after.
dir: &'static strThe directory the example is published under.
title: &'static strThe page’s title.
label: &'static strThe landing page’s link label.
description: &'static strThe landing page’s one-line description.
Auto Trait Implementations§
impl Forget for Example
impl Freeze for Example
impl RefUnwindSafe for Example
impl Send for Example
impl Sync for Example
impl Unpin for Example
impl UnsafeUnpin for Example
impl UnwindSafe for Example
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