pub struct ExampleResource {
pub path: &'static str,
pub body: &'static str,
}Expand description
Example source: path after examples/ → body.
Fields§
§path: &'static str§body: &'static strAuto Trait Implementations§
impl Freeze for ExampleResource
impl RefUnwindSafe for ExampleResource
impl Send for ExampleResource
impl Sync for ExampleResource
impl Unpin for ExampleResource
impl UnsafeUnpin for ExampleResource
impl UnwindSafe for ExampleResource
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